Skip to content

Commit

Permalink
Switch from user_error! to test_failure!
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Apr 4, 2017
1 parent 3872e12 commit 002f5d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.run(params)

resulting_paths = ::Trainer::TestParser.auto_convert(params)
resulting_paths.each do |path, test_successful|
UI.user_error!("Unit tests failed", show_github_issues: false) unless test_successful
UI.test_failure!("Unit tests failed") unless test_successful
end

return resulting_paths
Expand Down

0 comments on commit 002f5d6

Please sign in to comment.