lib/minitest/test_runner.rb in minitest-reporters-0.7.1 vs lib/minitest/test_runner.rb in minitest-reporters-0.8.0

- old
+ new

@@ -22,11 +22,11 @@ @assertions = suite_instance._assertions end def puke(suite, test, exception) case exception - when MiniTest::Skip then [:skip, exception] - when MiniTest::Assertion then [:failure, exception] + when Skip then [:skip, exception] + when Assertion then [:failure, exception] else [:error, exception] end end private