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

ruby-changes:45489

From: nobu <ko1@a...>
Date: Tue, 7 Feb 2017 17:09:28 +0900 (JST)
Subject: [ruby-changes:45489] nobu:r57562 (trunk): test_parallel.rb: match the count

nobu	2017-02-07 17:09:23 +0900 (Tue, 07 Feb 2017)

  New Revision: 57562

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57562

  Log:
    test_parallel.rb: match the count
    
    * test/testunit/test_parallel.rb (test_should_run_all_without_any_leaks):
      match the final test count instead of progressing indicators.

  Modified files:
    trunk/test/testunit/test_parallel.rb
Index: test/testunit/test_parallel.rb
===================================================================
--- test/testunit/test_parallel.rb	(revision 57561)
+++ test/testunit/test_parallel.rb	(revision 57562)
@@ -164,7 +164,7 @@ module TestParallel https://github.com/ruby/ruby/blob/trunk/test/testunit/test_parallel.rb#L164
     def test_should_run_all_without_any_leaks
       spawn_runner
       buf = Timeout.timeout(10) {@test_out.read}
-      assert_match(/^[SFE\.]{9}$/,buf)
+      assert_match(/^9 tests/,buf)
     end
 
     def test_should_retry_failed_on_workers

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

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