aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_beginendblock.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_beginendblock.rb')
-rw-r--r--test/ruby/test_beginendblock.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_beginendblock.rb b/test/ruby/test_beginendblock.rb
index 4e9a4b72b9..30db5024cc 100644
--- a/test/ruby/test_beginendblock.rb
+++ b/test/ruby/test_beginendblock.rb
@@ -176,13 +176,12 @@ EOW
def test_callcc_at_exit
bug9110 = '[ruby-core:58329][Bug #9110]'
- ruby = EnvUtil.rubybin
script = <<EOS
require "continuation"
c = nil
at_exit { c.call }
at_exit { callcc {|_c| c = _c } }
EOS
- assert system(ruby, "-e", script)
+ assert_normal_exit(script, bug9110)
end
end