diff options
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 3c10cce3c3..0322448c71 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -231,7 +231,7 @@ class TestThread < Test::Unit::TestCase t1 = Thread.new { sleep } Thread.pass t2 = Thread.new { loop { } } - t3 = Thread.new { }.join + Thread.new { }.join p [Thread.current, t1, t2].map{|t| t.object_id }.sort p Thread.list.map{|t| t.object_id }.sort INPUT |