Fixes #713 and adds test for --depsOnly.
This commit is contained in:
parent
419eba036b
commit
da3f70cb98
2 changed files with 16 additions and 0 deletions
|
|
@ -79,6 +79,13 @@ proc hasLineStartingWith(lines: seq[string], prefix: string): bool =
|
|||
return true
|
||||
return false
|
||||
|
||||
test "depsOnly + flag order test":
|
||||
var (output, exitCode) = execNimble(
|
||||
"--depsOnly", "install", "-y", "https://github.com/nimble-test/packagebin2"
|
||||
)
|
||||
check(not output.contains("Success: packagebin2 installed successfully."))
|
||||
check exitCode == QuitSuccess
|
||||
|
||||
test "caching of nims and ini detects changes":
|
||||
cd "caching":
|
||||
var (output, exitCode) = execNimble("dump")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue