Adding tests to fix for #338

Test:
  * Added new test case for issue #338, where package installation would fail when the `srcDir` path ended in a directory separator.
This commit is contained in:
Samantha Marshall 2017-04-24 13:45:31 -04:00
commit 05f0de4492
No known key found for this signature in database
GPG key ID: DF782CB74434EFA2
3 changed files with 11 additions and 0 deletions

View file

@ -286,6 +286,10 @@ test "issue #206":
(output, exitCode) = execNimble("install", "-y")
check exitCode == QuitSuccess
test "issue #338":
cd "issue338":
check execNimble("install", "-y").exitCode == QuitSuccess
test "can list":
check execNimble("list").exitCode == QuitSuccess