mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00
* lib/test/unit.rb (Test::Unit::Runner#puke): skips with no
messages should be trivial. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80429eed63
commit
90080e3a2e
2 changed files with 6 additions and 0 deletions
|
@ -626,6 +626,7 @@ module Test
|
|||
e = case e
|
||||
when MiniTest::Skip then
|
||||
@skips += 1
|
||||
return "." if /no message given\z/ =~ e.message
|
||||
"Skipped:\n#{meth}(#{klass}) [#{location e}]:\n#{e.message}\n"
|
||||
when MiniTest::Assertion then
|
||||
@failures += 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue