diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-06-03 17:12:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 17:12:45 +0200 |
commit | 06232b7f2e230a46beea982f172087e9da51814a (patch) | |
tree | 59fa6f9a62afba7a9eb10788ecd8c00f685f1e4e /tests/misc/trunner.nim | |
parent | d31cbfd167c0bf2fcf2b1e6d401a20a16acaaebb (diff) | |
download | Nim-06232b7f2e230a46beea982f172087e9da51814a.tar.gz |
fixes #18058 (#18162)
Diffstat (limited to 'tests/misc/trunner.nim')
-rw-r--r-- | tests/misc/trunner.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/trunner.nim b/tests/misc/trunner.nim index 3297b3a24..b6b302836 100644 --- a/tests/misc/trunner.nim +++ b/tests/misc/trunner.nim @@ -249,7 +249,7 @@ tests/newconfig/bar/mfoo.nims""".splitLines var expected = "" for a in files: let b = dir / a - expected.add &"Hint: used config file '{b}' [Conf]\31\n" + expected.add &"Hint: used config file '{b}' [Conf]\n" doAssert outp.endsWith expected, outp & "\n" & expected block: # mfoo2.customext @@ -257,7 +257,7 @@ tests/newconfig/bar/mfoo.nims""".splitLines let cmd = fmt"{nim} e --hint:conf {filename}" let (outp, exitCode) = execCmdEx(cmd, options = {poStdErrToStdOut}) doAssert exitCode == 0 - var expected = &"Hint: used config file '{filename}' [Conf]\31\n" + var expected = &"Hint: used config file '{filename}' [Conf]\n" doAssert outp.endsWith "123" & "\n" & expected |