lib/scan/runner.rb in scan-0.4.2 vs lib/scan/runner.rb in scan-0.5.0
- old
+ new
@@ -64,9 +64,9 @@
})
puts ""
ReportCollector.new.parse_raw_file(TestCommandGenerator.xcodebuild_log_path)
- raise "Tests failed" unless result[:failures] == 0
+ UI.user_error!("Tests failed") unless result[:failures] == 0
end
end
end