aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r--test/ruby/test_thread.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index a0eba3dbd4..c1ae500aee 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -311,11 +311,9 @@ class TestThread < Test::Unit::TestCase
assert(c.stop?)
d.kill
- assert_equal("aborting", d.status)
- assert(!d.stop?)
+ assert_equal(["aborting", false], [d.status, d.stop?])
- assert_equal("run", e.status)
- assert(!e.stop?)
+ assert_equal(["run", false], [e.status, e.stop?])
ensure
a.kill if a