summaryrefslogtreecommitdiff
path: root/test/testunit/test_parallel.rb
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-26 07:17:59 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-26 07:17:59 +0000
commit86c7e68442b560e1c743d77d0783bc29a577790f (patch)
tree288b14010abb8bb1dcc9e2ff6b1a958de7dd7204 /test/testunit/test_parallel.rb
parent10e2dbee16845d632ab81579db76d8356f33cca0 (diff)
* lib/test/unit.rb: --jobs-status won't puts over 2 lines.
* test/testunit/test_parallel.rb: Fix test for above. * lib/test/*: refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/test_parallel.rb')
-rw-r--r--test/testunit/test_parallel.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb
index 3eff960..24e03be 100644
--- a/test/testunit/test_parallel.rb
+++ b/test/testunit/test_parallel.rb
@@ -169,8 +169,7 @@ module TestParallel
def test_jobs_status
spawn_runner "--jobs-status"
buf = timeout(10){@test_out.read}
- assert_match(/\d+:(ready|prepare|running) */,buf)
- assert_match(/test_(first|second|third|forth) */,buf)
+ assert_match(/\d+=test_(first|second|third|forth) */,buf)
end
end