summaryrefslogtreecommitdiff
path: root/test/ruby
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
commit8c3f13f98d8d2280f1799d5e2e58260bb9eb71c1 (patch)
tree03932aac38c9c0da754abb272608446051aa4216 /test/ruby
parentd8a754cc12bcf43361608d117e21dd1cc942b671 (diff)
fix previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-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 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