diff --git a/base/loading.jl b/base/loading.jl index 32617b77ad72b..5b62721d9fbe4 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -2837,7 +2837,7 @@ function __require_prelocked(pkg::PkgId, env) m isa Module && return m verbosity = isinteractive() ? CoreLogging.Info : CoreLogging.Debug - @logmsg verbosity "Precompiling $(repr("text/plain", pkg))$(list_reasons(reasons))" + @info "Precompiling $(repr("text/plain", pkg))$(list_reasons(reasons))" unlock(require_lock) try diff --git a/test/precompile.jl b/test/precompile.jl index f63fc5e631125..3dbab7332e76b 100644 --- a/test/precompile.jl +++ b/test/precompile.jl @@ -1419,7 +1419,7 @@ precompile_test_harness("conflicting namespaces") do dir try for i = 1:2 @test readchomp(pipeline(`$exename -E $(testcode)`, stderr=fname)) == "nothing" - @test read(fname, String) == "Iterators\n" + @test endswith(read(fname, String), "Iterators\n") end finally rm(fname, force=true)