Skip to content

Commit

Permalink
Add a test for Pkg.update
Browse files Browse the repository at this point in the history
Add a test for Pkg.update() to check whether the return value is nothing. Related to my previous PR #16690.
  • Loading branch information
Lanting Guo committed Jun 1, 2016
1 parent e56c2a1 commit 00ba4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pkg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ temp_pkg_dir() do
Pkg.free("Example")

Pkg.pin("Example", v"0.4.0")
Pkg.update()
@test Pkg.update() == nothing
Pkg.installed()["Example"] == v"0.4.0"
end

Expand Down

0 comments on commit 00ba4ce

Please sign in to comment.