diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-15 23:57:00 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-15 23:57:00 +0000 |
commit | 8c3f13f98d8d2280f1799d5e2e58260bb9eb71c1 (patch) | |
tree | 03932aac38c9c0da754abb272608446051aa4216 /test | |
parent | d8a754cc12bcf43361608d117e21dd1cc942b671 (diff) | |
download | ruby-8c3f13f98d8d2280f1799d5e2e58260bb9eb71c1.tar.gz |
fix previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/envutil.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 293e3f2a50..972f63d056 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -197,12 +197,12 @@ module Test (th_stderr.kill; th_stderr.join) if th_stderr end - def assert_in_out_err(args, test_stdin = "", test_stdout = [], test_stderr = [], message = nil, opt={}) - invoke_ruby_assertion(args, test_stdin, test_stdout, test_stderr, false, message, opt) + def assert_in_out_err(args, test_stdin = "", test_stdout = [], test_stderr = [], message = nil, opt={}, &b) + invoke_ruby_assertion(args, test_stdin, test_stdout, test_stderr, false, message, opt, &b) end - def assert_ruby_status(args, test_stdin = "", message = nil, opt={}) - invoke_ruby_assertion(args, test_stdin, nil, nil, true, message, opt) + def assert_ruby_status(args, test_stdin = "", message = nil, opt={}, &b) + invoke_ruby_assertion(args, test_stdin, nil, nil, true, message, opt, &b) end end |