weaken tosproc test for my Windows machine which doesn't have 'ls'
This commit is contained in:
parent
37253d660f
commit
49cea86d8b
1 changed files with 2 additions and 1 deletions
|
|
@ -219,7 +219,8 @@ else: # main driver
|
|||
var result = execCmdEx("nim r --hints:off -", options = {}, input = "echo 3*4")
|
||||
stripLineEnd(result[0])
|
||||
doAssert result == ("12", 0)
|
||||
doAssert execCmdEx("ls --nonexistant").exitCode != 0
|
||||
when not defined(windows):
|
||||
doAssert execCmdEx("ls --nonexistant").exitCode != 0
|
||||
when false:
|
||||
# bug: on windows, this raises; on posix, passes
|
||||
doAssert execCmdEx("nonexistant").exitCode != 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue