mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-27 00:51:39 +00:00
typo: nonexistant => nonexistent (#17918)
* typo: nonexistant => nonexistent * fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
This commit is contained in:
@@ -272,10 +272,10 @@ else: # main driver
|
||||
stripLineEnd(result[0])
|
||||
doAssert result == ("12", 0)
|
||||
when not defined(windows):
|
||||
doAssert execCmdEx("ls --nonexistant").exitCode != 0
|
||||
doAssert execCmdEx("ls --nonexistent").exitCode != 0
|
||||
when false:
|
||||
# bug: on windows, this raises; on posix, passes
|
||||
doAssert execCmdEx("nonexistant").exitCode != 0
|
||||
doAssert execCmdEx("nonexistent").exitCode != 0
|
||||
when defined(posix):
|
||||
doAssert execCmdEx("echo $FO", env = newStringTable({"FO": "B"})) == ("B\n", 0)
|
||||
doAssert execCmdEx("echo $PWD", workingDir = "/") == ("/\n", 0)
|
||||
|
||||
Reference in New Issue
Block a user