Skip to content

Commit 537664f

Browse files
authored
test: fix textual output for precompile (#36858)
We might print ANSI color codes around ERROR now, making this test unreliable.
1 parent 193b21b commit 537664f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/precompile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ try
407407
error("break me")
408408
end
409409
""")
410-
@test_warn "ERROR: LoadError: break me\nStacktrace:\n [1] error" try
410+
@test_warn "LoadError: break me\nStacktrace:\n [1] error" try
411411
Base.require(Main, :FooBar2)
412412
error("the \"break me\" test failed")
413413
catch exc

0 commit comments

Comments
 (0)