diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/minitest/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/minitest/unit.rb b/lib/minitest/unit.rb index 07a92f22e8..2c767b68fa 100644 --- a/lib/minitest/unit.rb +++ b/lib/minitest/unit.rb @@ -355,7 +355,7 @@ module MiniTest details = "#{msg}#{mu_pp(exp)} exception expected, not" assert(exp.any? { |ex| ex.instance_of?(Module) ? e.kind_of?(ex) : ex == e.class - }, exception_details(e, details)) + }, proc{exception_details(e, details)}) return e end |