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:
parent
780ab06a0e
commit
baabb76cd7
1 changed files with 1 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue