diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_thread.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 046eaec7bf..043917f2ec 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -225,6 +225,7 @@ class TestThread < Test::Unit::TestCase def test_list assert_in_out_err([], <<-INPUT) do |r, e| t1 = Thread.new { sleep } + Thread.pass t2 = Thread.new { loop { } } t3 = Thread.new { }.join p [Thread.current, t1, t2].sort_by {|t| t.object_id } |