1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
parent 637585d912
commit 8d0b8c879f

View file

@ -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