Add diamond_deps tests for #184.
This commit is contained in:
parent
c379a79910
commit
79b78ff781
5 changed files with 62 additions and 0 deletions
|
|
@ -405,3 +405,18 @@ test "can dump for installed package":
|
|||
let (outp, exitCode) = execNimble("dump", "testdump")
|
||||
check: exitCode == 0
|
||||
check: outp.processOutput.inLines("desc: \"Test package for dump command\"")
|
||||
|
||||
test "can install diamond deps (#184)":
|
||||
cd "diamond_deps":
|
||||
cd "d":
|
||||
check execNimble("install", "-y").exitCode == 0
|
||||
cd "c":
|
||||
check execNimble("install", "-y").exitCode == 0
|
||||
cd "b":
|
||||
check execNimble("install", "-y").exitCode == 0
|
||||
cd "a":
|
||||
# TODO: This doesn't really test anything. But I couldn't quite
|
||||
# reproduce #184.
|
||||
let (output, exitCode) = execNimble("install", "-y")
|
||||
checkpoint(output)
|
||||
check exitCode == 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue