diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-15 20:54:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-15 20:54:16 +0000 |
commit | 006eca88cf7dbd39d9197fd801f015f7c98812fd (patch) | |
tree | 341bc607445cf38ba51c426ae0221736c44e0103 /test | |
parent | 494731b787af1023cfdd45d6dde15888e159d377 (diff) | |
download | ruby-006eca88cf7dbd39d9197fd801f015f7c98812fd.tar.gz |
test_beginendblock.rb: assert_normal_exit
* test/ruby/test_beginendblock.rb (test_callcc_at_exit): use
assert_normal_exit for better message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_beginendblock.rb | 3 |
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 |