bin/cutest in cutest-1.2.0 vs bin/cutest in cutest-1.2.1
- old
+ new
@@ -12,7 +12,9 @@
"-r" => lambda { |file| require file },
"-o" => lambda { |name| cutest[:only] = name },
"-v" => lambda { puts Cutest::VERSION }
if files.any?
- Cutest.run(Dir[*files])
+ success = Cutest.run(Dir[*files])
+
+ exit(1) unless success
end