Fixes #710.
This commit is contained in:
parent
c85cdfd814
commit
46dc98bb62
3 changed files with 60 additions and 21 deletions
|
|
@ -86,6 +86,13 @@ test "depsOnly + flag order test":
|
|||
check(not output.contains("Success: packagebin2 installed successfully."))
|
||||
check exitCode == QuitSuccess
|
||||
|
||||
test "nimscript evaluation error message":
|
||||
cd "invalidPackage":
|
||||
var (output, exitCode) = execNimble("check")
|
||||
let lines = output.strip.processOutput()
|
||||
check(lines[^2].endsWith("Error: undeclared identifier: 'thisFieldDoesNotExist'"))
|
||||
check exitCode == QuitFailure
|
||||
|
||||
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