Skip to content

Commit

Permalink
test: fix textual output for precompile (#36858)
Browse files Browse the repository at this point in the history
We might print ANSI color codes around ERROR now, making this test unreliable.
  • Loading branch information
vtjnash authored Aug 4, 2020
1 parent 193b21b commit 537664f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ try
error("break me")
end
""")
@test_warn "ERROR: LoadError: break me\nStacktrace:\n [1] error" try
@test_warn "LoadError: break me\nStacktrace:\n [1] error" try
Base.require(Main, :FooBar2)
error("the \"break me\" test failed")
catch exc
Expand Down

0 comments on commit 537664f

Please sign in to comment.