Fixes removal of linked packages (and speeds up removal).

This commit is contained in:
Dominik Picheta 2017-08-19 20:56:29 +01:00
commit 3bdce8d332
3 changed files with 19 additions and 6 deletions

View file

@ -507,4 +507,14 @@ suite "develop feature":
let (output, exitCode) = execNimble("c", "-r", "src/dependent.nim")
checkpoint output
check(output.processOutput.inLines("hello"))
check exitCode == QuitSuccess
check exitCode == QuitSuccess
test "can uninstall linked package":
cd "develop/srcdirtest":
let (_, exitCode) = execNimble("develop", "-y")
check exitCode == QuitSuccess
let (output, exitCode) = execNimble("uninstall", "-y", "srcdirtest")
checkpoint(output)
check exitCode == QuitSuccess
check(not output.processOutput.inLines("warning"))