Fixes #351.
This commit is contained in:
parent
ee34150d70
commit
d1eae2f1a0
2 changed files with 9 additions and 1 deletions
|
|
@ -453,3 +453,11 @@ suite "can handle two binary versions":
|
|||
check exitCode == QuitSuccess
|
||||
check output.strip() == "v2"
|
||||
|
||||
test "can pass args with spaces to Nim (#351)":
|
||||
cd "binaryPackage/v2":
|
||||
let (output, exitCode) = execCmdEx(nimblePath &
|
||||
" c -r" &
|
||||
" -d:myVar=\"string with spaces\"" &
|
||||
" binaryPackage")
|
||||
checkpoint output
|
||||
check exitCode == QuitSuccess
|
||||
Loading…
Add table
Add a link
Reference in a new issue