From 537664f46fba46f53077d7fdb5134b1cdd361460 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Mon, 3 Aug 2020 21:24:54 -0400 Subject: [PATCH] test: fix textual output for precompile (#36858) We might print ANSI color codes around ERROR now, making this test unreliable. --- test/precompile.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/precompile.jl b/test/precompile.jl index 521391d992aaa..ebe7e94c83d2e 100644 --- a/test/precompile.jl +++ b/test/precompile.jl @@ -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