We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7706db3 commit 59f19fcCopy full SHA for 59f19fc
test/precompile.jl
@@ -690,8 +690,8 @@ precompile_test_harness(false) do dir
690
Base.require(Main, :FooBar2)
691
error("the \"break me\" test failed")
692
catch exc
693
- isa(exc, ErrorException) || rethrow()
694
- # The LoadError shouldn't be surfaced but is printed to stderr, hence the `@test_warn` capture tests
+ isa(exc, Base.PkgPrecompileError) || rethrow()
+ # The PkgPrecompileError shouldn't be surfaced but is printed to stderr, hence the `@test_warn` capture tests
695
occursin("LoadError: break me", exc.msg) && rethrow()
696
# The actual error that is thrown
697
occursin("Failed to precompile FooBar2", exc.msg) || rethrow()
0 commit comments