From 464efd977f473eb3a898c718035503f48b2f24b5 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 17 Jan 2009 20:17:37 +0000 Subject: [PATCH] Fixed LocalJumpError git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/minitest/unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/minitest/unit.rb b/lib/minitest/unit.rb index 5f2fa5c99e..0f71126b0b 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