Skip to content

Commit

Permalink
add a case test for Pkg.test()
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Aug 23, 2016
1 parent c68bd04 commit f300c28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/pkg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,12 @@ temp_pkg_dir() do
@test [keys(Pkg.installed())...] == ["Example"]

# test that Pkg.installed, Pkg.checkout,
# Pkg.status, Pkg.free, and Pkg.available are case sensitive
# Pkg.status, Pkg.free, Pkg.test, and Pkg.available are case sensitive
@test_throws PkgError Pkg.installed("example")
@test_throws PkgError Pkg.checkout("example")
@test Pkg.status("example") === nothing
@test_throws PkgError Pkg.free("example")
@test_throws PkgError Pkg.test("example")
Pkg.rm("example")
@test [keys(Pkg.installed())...] == ["Example"]
@test_throws PkgError Pkg.available("example")
Expand Down

0 comments on commit f300c28

Please sign in to comment.