diff --git a/test/pkg.jl b/test/pkg.jl index 784e4e7ae295d..6c6deea4ec916 100644 --- a/test/pkg.jl +++ b/test/pkg.jl @@ -41,6 +41,7 @@ temp_pkg_dir() do Pkg.rm("Example") @test isempty(Pkg.installed()) @test !isempty(Pkg.available("Example")) + @test Pkg.available("IDoNotExist") === nothing Pkg.clone("https://github.com/JuliaLang/Example.jl.git") @test [keys(Pkg.installed())...] == ["Example"] Pkg.status("Example", iob)