Skip to content

Commit

Permalink
workaround refs nim-lang#10359
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 18, 2019
1 parent fb4968a commit da85308
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/misc/tparseopt.nim
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ else:

block: # fix #9842
let exe = buildDir / "D20190112T145450".addFileExt(ExeExt)
defer: removeFile exe
defer:
when not defined(windows):
# workaround #10359 ; innocuous to skip since we're saving under `buildDir`
removeFile exe
let args = @["a1b", "a2 b", "", "a4\"b", "a5'b", r"a6\b", "a7\'b"]
let cmd = "$# c -r --verbosity:0 -o:$# -d:testament_tparseopt $# $#" %
[getCurrentCompilerExe(), exe, currentSourcePath(),
Expand Down

0 comments on commit da85308

Please sign in to comment.