From 38e82639541e660bb6d25b47f6ba76153e60666e Mon Sep 17 00:00:00 2001 From: Sergiu-Vlad Bonta Date: Tue, 15 Jan 2019 17:52:09 +0200 Subject: [PATCH] Fixed failing test. --- lib/pure/os.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 7bfb8c794074..7b84e2063531 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -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 =