From 00ba4ce48f39f6a288b880fa9e8c417de01a9df0 Mon Sep 17 00:00:00 2001 From: Lanting Guo Date: Wed, 1 Jun 2016 13:12:16 +0800 Subject: [PATCH] Add a test for Pkg.update Add a test for Pkg.update() to check whether the return value is nothing. Related to my previous PR #16690. --- test/pkg.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pkg.jl b/test/pkg.jl index 46864162d2b26..f815acb5816ef 100644 --- a/test/pkg.jl +++ b/test/pkg.jl @@ -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