From acee3645f0bc646182e1c89594a3e3e02ac96577 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 15 Nov 2009 23:57:00 +0000 Subject: fix previous change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/envutil.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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 -- cgit