aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-14 22:03:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-14 22:03:19 +0000
commit8d0b8c879fc2540ae2803cd46f16ca0c4e99e2f7 (patch)
tree7c2456b5793224be4da9dbedbbffa8f6a9c1ba30
parent637585d912199251c47cc2f578afab877795e317 (diff)
downloadruby-8d0b8c879fc2540ae2803cd46f16ca0c4e99e2f7.tar.gz
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
-rw-r--r--test/ruby/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 33d2daf266..dce4af8ba2 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -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