[前][次][番号順一覧][スレッド一覧]

ruby-changes:18956

From: nagachika <ko1@a...>
Date: Mon, 28 Feb 2011 23:56:10 +0900 (JST)
Subject: [ruby-changes:18956] Ruby:r30988 (trunk): * test/testunit/test_rake_integration.rb (test_with_rake_runner):

nagachika	2011-02-28 23:56:01 +0900 (Mon, 28 Feb 2011)

  New Revision: 30988

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30988

  Log:
    * test/testunit/test_rake_integration.rb (test_with_rake_runner):
       use assert_in_out_err for suppress messages.

  Modified files:
    trunk/ChangeLog
    trunk/test/testunit/test_rake_integration.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30987)
+++ ChangeLog	(revision 30988)
@@ -1,3 +1,8 @@
+Mon Feb 28 23:52:13 2011  CHIKANAGA Tomoyuki  <nagachika00@g...>
+
+	* 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@g...>
 
 	* win32/win32.c (rb_w32_spawn): use shell if a commandline contain
Index: test/testunit/test_rake_integration.rb
===================================================================
--- test/testunit/test_rake_integration.rb	(revision 30987)
+++ test/testunit/test_rake_integration.rb	(revision 30988)
@@ -24,7 +24,12 @@
         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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]