summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-28 14:56:01 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-28 14:56:01 +0000
commit667833711bc7784f4d7972bbf64332011863ad5b (patch)
tree6c39f99f6cf74ca46270b85aabbb5a4485335e67
parent4a57c5e7d961e457826ea5dabb758b249d8faeb0 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--test/testunit/test_rake_integration.rb7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c8f6da8..b802654 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 28 23:52:13 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
+
+ * 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 <kosaki.motohiro@gmail.com>
* 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 bb0951d..86a0cf8 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