summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-15 23:57:00 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-15 23:57:00 +0000
commitacee3645f0bc646182e1c89594a3e3e02ac96577 (patch)
tree03932aac38c9c0da754abb272608446051aa4216 /test
parent95513750a41d814fcbd12cbf7c7a4b5551371998 (diff)
downloadruby-acee3645f0bc646182e1c89594a3e3e02ac96577.tar.gz
ruby-acee3645f0bc646182e1c89594a3e3e02ac96577.tar.xz
ruby-acee3645f0bc646182e1c89594a3e3e02ac96577.zip
fix previous change.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/envutil.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index 293e3f2a5..972f63d05 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