Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Sep 1, 2024
1 parent f6c6f7f commit fb62b58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ using Pkg
@test ! ("TestEnv" keys(Pkg.project().dependencies))
@test ! ("Revise" keys(Pkg.project().dependencies))
@test ! ("Plots" keys(Pkg.project().dependencies))
# ensure that BenchmarkTools is not in the main environment
oldprpath = Pkg.project().path
if ! Pkg.project().ispackage
Pkg.activate(".")
end
hasbm = ("BenchmarkTools" keys(Pkg.project().dependencies))
Pkg.activate(oldprpath)
@test ! hasbm
end

0 comments on commit fb62b58

Please sign in to comment.