Skip to content

Commit

Permalink
fail tests no throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored Jul 3, 2018
1 parent 7a31668 commit 9449f20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ function _test_reference(equiv, rendermode, file::File, actual::T) where T
@test false
end
else
error("You need to run the tests interactively with 'include(\"test/runtests.jl\")' to update reference images")
warn("You need to run the tests interactively with 'include(\"test/runtests.jl\")' to update reference images")
@test false
end
end
catch ex
Expand All @@ -113,7 +114,8 @@ function _test_reference(equiv, rendermode, file::File, actual::T) where T
@test false
end
else
error("You need to run the tests interactively with 'include(\"test/runtests.jl\")' to create new reference images")
warn("You need to run the tests interactively with 'include(\"test/runtests.jl\")' to create new reference images")
@test false
end
else
rethrow(ex)
Expand Down

0 comments on commit 9449f20

Please sign in to comment.