mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
weaken tosproc test for my Windows machine which doesn't have 'ls'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user