diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-16 02:43:03 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-16 02:43:03 +0000 |
commit | ff187b02670f2ae6e703b9f0125bed37206f899d (patch) | |
tree | 80872318e3763513b7f30f2e448c83eeaaf891c7 /lib/minitest/unit.rb | |
parent | bbe004c1e461a5769663ddc0b24d0b517fe3c118 (diff) | |
download | ruby-ff187b02670f2ae6e703b9f0125bed37206f899d.tar.gz |
Refix r33766.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/minitest/unit.rb')
-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 45a1acf033..593708d4c9 100644 --- a/lib/minitest/unit.rb +++ b/lib/minitest/unit.rb @@ -360,7 +360,7 @@ module MiniTest bool = exp.any? { |ex| ex.instance_of?(Module) ? e.kind_of?(ex) : ex == e.class } - assert(bool, bool || exception_details(e, details)) + assert(bool, bool ? '' : exception_details(e, details)) return e end |