Skip to content

Commit 657c315

Browse files
add stdlib resolve smoketest
1 parent 35836d1 commit 657c315

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/resolve.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,4 +508,17 @@ end
508508
end
509509
end
510510

511+
@testset "Stdlib resolve smoketest" begin
512+
# All stdlibs should be installable and resolvable
513+
temp_pkg_dir() do dir
514+
Pkg.activate(temp=true)
515+
Pkg.add(map(first, values(Pkg.Types.load_stdlib()))) # add all stdlibs
516+
iob = IOBuffer()
517+
Pkg.resolve(io = iob)
518+
str = String(take!(io))
519+
@test occursin(r"No Changes to .*Project.toml", str)
520+
@test occursin(r"No Changes to .*Manifest.toml", str)
521+
end
522+
end
523+
511524
end # module

0 commit comments

Comments
 (0)