зеркало из https://github.com/github/ruby.git
* 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:
Родитель
80429eed63
Коммит
90080e3a2e
|
@ -1,3 +1,8 @@
|
|||
Mon Feb 27 10:53:12 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::Runner#puke): skips with no
|
||||
messages should be trivial.
|
||||
|
||||
Mon Feb 27 10:50:23 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c, process.c, time.c, ext: use rb_sys_fail_str instead of
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче