aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit/parallel.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/parallel.rb')
-rw-r--r--lib/test/unit/parallel.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb
index 32f15382ec..921c6b0b02 100644
--- a/lib/test/unit/parallel.rb
+++ b/lib/test/unit/parallel.rb
@@ -155,7 +155,7 @@ module Test
end
def puke(klass, meth, e)
- @partial_report << [klass.name, meth, e]
+ @partial_report << [klass.name, meth, e.is_a?(MiniTest::Assertion) ? e : ProxyError.new(e)]
super
end
end