diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-01 02:17:14 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-01 02:17:14 +0000 |
commit | 1cc19523c25029d66df15086de65b01a7dbe98f7 (patch) | |
tree | b7b43c23fde451301a741a05a5d4d20995f867ca /test | |
parent | 05b05a8f56fbf9d1558c108d8eee3a09e4a78823 (diff) |
Revert r66968
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@66975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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) |