1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2013-06-10 13:28:58 +00:00
parent 780ab06a0e
commit baabb76cd7

View file

@ -93,6 +93,7 @@ EOW
def test_exitcode_in_at_exit
bug8501 = '[ruby-core:55365] [Bug #8501]'
ruby = EnvUtil.rubybin
out = IO.popen([ruby, '-e', 'STDERR.reopen(STDOUT)',
'-e', 'o = Object.new; def o.inspect; raise "[Bug #8501]"; end',
'-e', 'at_exit{o.nope}']) {|f|