From b6cc798e7858b93468d503315dfca2b698aabda1 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 22 Oct 2009 11:22:11 +0000 Subject: * test/ruby/envutil.rb (assert_in_out_err): test_stdout and test_stderr should be an array. * test/ruby/test_rubyoptions.rb (test_notfound): test_stdin of assert_in_out_err should be a string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/envutil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/envutil.rb') diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 2fc614317..f0d5c2f8f 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -127,7 +127,7 @@ module Test end LANG_ENVS = %w"LANG LC_ALL LC_CTYPE" - def assert_in_out_err(args, test_stdin = "", test_stdout = "", test_stderr = "", message = nil) + def assert_in_out_err(args, test_stdin = "", test_stdout = [], test_stderr = [], message = nil) in_c, in_p = IO.pipe out_p, out_c = IO.pipe err_p, err_c = IO.pipe -- cgit