Skip to content

Commit

Permalink
Fixed failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
BontaVlad committed Jan 15, 2019
1 parent 309d7de commit 38e8263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/os.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2018,7 +2018,7 @@ elif defined(windows):
ownArgv = parseCmdLine($getCommandLine())
ownParsedArgv = true
if i < ownArgv.len and i >= 0: return TaintedString(ownArgv[i])
raise newException(IndexError, "invalid index", formatErrorIndexBound(i, ownArgv.len-1))
raise newException(IndexError, formatErrorIndexBound(i, ownArgv.len-1))

elif defined(genode):
proc paramStr*(i: int): TaintedString =
Expand Down

0 comments on commit 38e8263

Please sign in to comment.