diff --git a/test/funcdef.jl b/test/funcdef.jl index 576388e..186f211 100644 --- a/test/funcdef.jl +++ b/test/funcdef.jl @@ -106,9 +106,8 @@ n=0; @test (uarg(Float64)==Float64 && n==0) @test gen2() == 1 # works when called during precompilation of a package -Pkg.develop(path=joinpath(@__DIR__,"TestPackage")) +Pkg.develop(PackageSpec(path=joinpath(@__DIR__,"TestPackage"))) using TestPackage @test TestPackage.foo(2) == 2 -# @test read(`$(Base.julia_cmd()[1]) --startup-file=no --project=$(joinpath(@__DIR__,"TestPackage")) -e "using TestPackage; print(TestPackage.foo(2))"`,String) == "2" end \ No newline at end of file