test_thread.rb: assert_operator for comparison

* test/ruby/test_thread.rb (test_priority): use assert_operator
  for comparison instead of assert_send.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-12-14 22:03:19 +00:00
Родитель 637585d912
Коммит 8d0b8c879f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -140,7 +140,7 @@ class TestThread < Test::Unit::TestCase
end
t1.kill
t2.kill
assert_send([c1, :>, c2], "[ruby-dev:33124]") # not guaranteed
assert_operator(c1, :>, c2, "[ruby-dev:33124]") # not guaranteed
end
def test_new