summaryrefslogtreecommitdiff
path: root/test/testunit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-15 22:46:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-15 22:46:08 +0000
commitff49900ab431e88dc05c14ffd65b92735dcf8bc9 (patch)
treef105eb1ac23b5a46d75661c86b53224db9037960 /test/testunit
parent3f6e8aef372dab1ece62c93e0d048d605f7aed15 (diff)
lib/test/unit.rb: format workers results in the parent
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): format workers results in the parent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit')
-rw-r--r--test/testunit/test_parallel.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb
index 5f7655b..9d1bc57 100644
--- a/test/testunit/test_parallel.rb
+++ b/test/testunit/test_parallel.rb
@@ -104,8 +104,9 @@ module TestParallel
assert_kind_of(Array,result[2])
assert_kind_of(Array,result[3])
assert_kind_of(Array,result[4])
- assert_match(/Skipped:$/,result[2][1])
- assert_match(/Failure:$/,result[2][0])
+ assert_kind_of(Array,result[2][1])
+ assert_kind_of(MiniTest::Assertion,result[2][0][2])
+ assert_kind_of(MiniTest::Skip,result[2][1][2])
assert_equal(result[5], "TestE")
end
end