diff options
author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-17 20:17:37 +0000 |
---|---|---|
committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-17 20:17:37 +0000 |
commit | 7954c5b2c723702e38a2675bafe95c2e292aa8c3 (patch) | |
tree | 8f626704b986a9b2f2a56c4a71e77cf4f08ec5f6 /lib | |
parent | 3b2ab44c156fc922b1d6c751f01dadc04aa62d31 (diff) | |
download | ruby-7954c5b2c723702e38a2675bafe95c2e292aa8c3.tar.gz ruby-7954c5b2c723702e38a2675bafe95c2e292aa8c3.tar.xz ruby-7954c5b2c723702e38a2675bafe95c2e292aa8c3.zip |
Fixed LocalJumpError
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/minitest/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/minitest/unit.rb b/lib/minitest/unit.rb index 5f2fa5c99..0f71126b0 100644 --- a/lib/minitest/unit.rb +++ b/lib/minitest/unit.rb @@ -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 |