From 667833711bc7784f4d7972bbf64332011863ad5b Mon Sep 17 00:00:00 2001 From: nagachika Date: Mon, 28 Feb 2011 14:56:01 +0000 Subject: [PATCH] * test/testunit/test_rake_integration.rb (test_with_rake_runner): use assert_in_out_err for suppress messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/testunit/test_rake_integration.rb | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c8f6da8297..b8026542ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 28 23:52:13 2011 CHIKANAGA Tomoyuki + + * test/testunit/test_rake_integration.rb (test_with_rake_runner): + use assert_in_out_err for suppress messages. + Mon Feb 28 22:48:56 2011 KOSAKI Motohiro * win32/win32.c (rb_w32_spawn): use shell if a commandline contain diff --git a/test/testunit/test_rake_integration.rb b/test/testunit/test_rake_integration.rb index bb0951d534..86a0cf8829 100644 --- a/test/testunit/test_rake_integration.rb +++ b/test/testunit/test_rake_integration.rb @@ -24,7 +24,12 @@ class FooTest; end eotest end - assert_ruby_status(%w{ -w } + [RAKE_LOADER, filename]) + args = %w{ -w } + [RAKE_LOADER, filename] + bug3972 = "[ruby-core:32864]" + status = assert_in_out_err(args, "", + /0 tests, 0 assertions, 0 failures, 0 errors, 0 skips/, + [], bug3972) + assert_equal(true, status.success?, bug3972) end end end