Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Nov 17, 2022
1 parent 7dd4dc8 commit 46f685f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ using TestItemRunner
@run_package_tests

@testitem "MicroMamba" begin
@test MicroMamba.available()
@test isfile(MicroMamba.executable())
MicroMamba.STATE.version = VersionNumber(0)
MicroMamba.STATE.executable = ""
@test MicroMamba.available()
@test MicroMamba.executable() != ""
@test isfile(MicroMamba.executable())
@test MicroMamba.version() isa VersionNumber
@test MicroMamba.version() > VersionNumber(0)
help = read(MicroMamba.cmd(`--help`), String)
@test occursin("--help", help)
end

0 comments on commit 46f685f

Please sign in to comment.