From 8d0b8c879fc2540ae2803cd46f16ca0c4e99e2f7 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 14 Dec 2013 22:03:19 +0000 Subject: [PATCH] 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 --- test/ruby/test_thread.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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