Fix #633 - pass CLI to tasks (#686)

* Fix #633 - pass CLI to tasks

* Add test case
This commit is contained in:
genotrance 2019-09-02 16:54:48 -05:00 • committed by Dominik Picheta
commit e39c57482a
3 changed files with 30 additions and 1 deletions

View file

@ -864,3 +864,8 @@ test "do not install single dependency multiple times (#678)":
let (output, exitCode) = execNimble("install", "-y")
check exitCode == QuitSuccess
check output.find("issue678_dependency_1@0.1.0 already exists") == -1
test "Passing command line arguments to a task (#633)":
cd "issue633":
var (output, exitCode) = execNimble("testTask --testTask")
check output.contains("Got it")