1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed LocalJumpError

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ryan 2009-01-17 20:17:37 +00:00
parent ec52a63792
commit 464efd977f

View file

@ -325,7 +325,7 @@ module MiniTest
def self.autorun
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 false if exit_code && exit_code != 0
} unless @@installed_at_exit