From 8c3f13f98d8d2280f1799d5e2e58260bb9eb71c1 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 15 Nov 2009 23:57:00 +0000 Subject: [PATCH] fix previous change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/envutil.rb | 8 ++++---- 1 file 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