зеркало из https://github.com/github/ruby.git
Fixed LocalJumpError
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ec52a63792
Коммит
464efd977f
|
@ -325,7 +325,7 @@ module MiniTest
|
||||||
|
|
||||||
def self.autorun
|
def self.autorun
|
||||||
at_exit {
|
at_exit {
|
||||||
return if $! # don't run if there was an exception
|
next if $! # don't run if there was an exception
|
||||||
exit_code = MiniTest::Unit.new.run(ARGV)
|
exit_code = MiniTest::Unit.new.run(ARGV)
|
||||||
exit false if exit_code && exit_code != 0
|
exit false if exit_code && exit_code != 0
|
||||||
} unless @@installed_at_exit
|
} unless @@installed_at_exit
|
||||||
|
|
Загрузка…
Ссылка в новой задаче