Skip to content

Commit

Permalink
Test more load!/unload! variants
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed Feb 19, 2024
1 parent fe1a501 commit f7e34bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ end
load!(myenv2, ".env.local")
load!(myenv2, ".env")
@test myenv1 == myenv2
unload!(myenv1)
@test isempty(myenv1)
load!(myenv1)
unload!(myenv1, "")
@test isempty(myenv1)
load!(myenv1)
myenv3 = Dict{String, String}()
load!(myenv3, override=true)
@test myenv1 == myenv3
Expand Down

0 comments on commit f7e34bc

Please sign in to comment.