aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_fiber.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_fiber.rb')
-rw-r--r--test/ruby/test_fiber.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index 4288cabe09..b6beca8d49 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -267,7 +267,7 @@ if false
def test_exit_in_fiber
bug5993 = '[ruby-dev:45218]'
assert_nothing_raised(bug5993) do
- Thread.new{ Fiber.new{ Thread.exit }.resume }.join
+ Thread.new{ Fiber.new{ Thread.exit }.resume; raise "unreachable" }.join
end
end