diff --git a/test/api.jl b/test/api.jl index 47007e6879..5651042e78 100644 --- a/test/api.jl +++ b/test/api.jl @@ -271,7 +271,6 @@ import .FakeTerminals.FakeTerminal @test_throws Pkg.Types.PkgError Pkg.precompile("DoesNotExist") # fail to find a nonexistant dep in an empty env Pkg.add("Random") - @test_throws Pkg.Types.PkgError Pkg.precompile("Random") # Random is a dep but in the sysimage @test_throws Pkg.Types.PkgError Pkg.precompile("DoesNotExist") Pkg.precompile() # should be a no-op end end