diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-05 04:45:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-05 04:45:10 +0000 |
commit | eecfa1fc7a9156a42cf937f08719117bf398b3a0 (patch) | |
tree | 7c181e75f3b15ec326c961cc87b18c87438ee278 /test/lib/minitest/unit.rb | |
parent | 281f090bf11fd2b65d65fe29b634efa211142658 (diff) | |
download | ruby-eecfa1fc7a9156a42cf937f08719117bf398b3a0.tar.gz |
incompatible encoding workaround
* test/lib/minitest/unit.rb (puke): workaround incompatible
encoding error messages.
* test/lib/test/unit/assertions.rb (AllFailures.message): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/minitest/unit.rb')
-rw-r--r-- | test/lib/minitest/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb index 62f89e97e5..aa53ef06f6 100644 --- a/test/lib/minitest/unit.rb +++ b/test/lib/minitest/unit.rb @@ -998,7 +998,7 @@ module MiniTest else @errors += 1 bt = MiniTest::filter_backtrace(e.backtrace).join "\n " - "Error:\n#{klass}##{meth}:\n#{e.class}: #{e.message}\n #{bt}\n" + "Error:\n#{klass}##{meth}:\n#{e.class}: #{e.message.b}\n #{bt}\n" end @report << e e[0, 1] |