mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d8a754cc12
commit
8c3f13f98d
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue