We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57043e8 commit 41f552cCopy full SHA for 41f552c
tests/exception/t13115.nim
@@ -18,6 +18,10 @@ else:
18
for opt in ["-d:nim_t13115_static", ""]:
19
let cmd = fmt"{nim} r -b:{b} -d:nim_t13115 {opt} --hints:off {file}"
20
let (outp, exitCode) = execCmdEx(cmd)
21
- doAssert msg in outp, cmd & "\n" & msg
+ when defined windows:
22
+ # `\0` not preserved on windows
23
+ doAssert "` and works fine!" in outp, cmd & "\n" & msg
24
+ else:
25
+ doAssert msg in outp, cmd & "\n" & msg
26
doAssert exitCode == 1
27
main()
0 commit comments