diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_fiber.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb index dec9f8028b..ffcb02ce51 100644 --- a/test/ruby/test_fiber.rb +++ b/test/ruby/test_fiber.rb @@ -256,11 +256,7 @@ class TestFiber < Test::Unit::TestCase end bug5700 = '[ruby-core:41456]' assert_nothing_raised(bug5700) do - Fiber.new do - pid = fork do - Fiber.new {}.transfer - end - end.resume + Fiber.new{ pid = fork {} }.resume end pid, status = Process.waitpid2(pid) assert_equal(0, status.exitstatus, bug5700) |