diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-10 13:28:58 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-10 13:28:58 +0000 |
commit | baabb76cd745d2ed9b4dba6c33710944321ded98 (patch) | |
tree | 4ac74f7d69f5925e6abf15e2d9393420560de49b /test/ruby/test_beginendblock.rb | |
parent | 780ab06a0ef626225aa2182a18b6e009a6bc45a8 (diff) | |
download | ruby-baabb76cd745d2ed9b4dba6c33710944321ded98.tar.gz |
* 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
Diffstat (limited to 'test/ruby/test_beginendblock.rb')
-rw-r--r-- | test/ruby/test_beginendblock.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_beginendblock.rb b/test/ruby/test_beginendblock.rb index e7901bce5e..909702a9e5 100644 --- a/test/ruby/test_beginendblock.rb +++ b/test/ruby/test_beginendblock.rb @@ -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| |