Permalink
Browse files

- Fixed autorun exit code if something terminates the run. (phiggins)

[git-p4: depot-paths = "//src/minitest/dev/": change = 8474]
  • Loading branch information...
1 parent 95dc6d1 commit bfa6a4fa81601b79a68554f6e16346e2f8bb1a1d @zenspider zenspider committed May 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minitest.rb
View
@@ -40,7 +40,7 @@ def self.autorun
at_exit {
@@after_run.reverse_each(&:call)
- exit exit_code
+ exit exit_code || false
}
exit_code = Minitest.run ARGV

0 comments on commit bfa6a4f

Please sign in to comment.