Skip to content

Commit

Permalink
test empty environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Aug 20, 2022
1 parent 6173055 commit 5ca0037
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ const isnull = backend == "Null"

end

@testset "resolve (empty)" begin
@test CondaPkg.resolve() === nothing
@test occursin("(empty)", status())
end

isnull && @testset "Null backend" begin
@test CondaPkg.backend() == :Null
@test CondaPkg.activate!(copy(ENV)) == ENV
Expand Down

0 comments on commit 5ca0037

Please sign in to comment.