summary refs log tree commit diff stats
path: root/tests/misc/trunner.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-04-20 16:30:17 +0200
committerGitHub <noreply@github.com>2021-04-20 16:30:17 +0200
commit0b116310bfb691755481293e8f9af11190fe0999 (patch)
tree2eeff75d1a1cabd5794f4eb147e982e8e3974dac /tests/misc/trunner.nim
parentc776498170a2a08a67b1317d8965482cf266a733 (diff)
downloadNim-0b116310bfb691755481293e8f9af11190fe0999.tar.gz
unit separator (#17730)
* use the ASCII Unit Separator so that error messages can be handled precisely by the tooling
* updated testament
Diffstat (limited to 'tests/misc/trunner.nim')
-rw-r--r--tests/misc/trunner.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/trunner.nim b/tests/misc/trunner.nim
index 1895eeb97..df9ee9a48 100644
--- a/tests/misc/trunner.nim
+++ b/tests/misc/trunner.nim
@@ -235,7 +235,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]\n"
+      expected.add &"Hint: used config file '{b}' [Conf]\31\n"
     doAssert outp.endsWith expected, outp & "\n" & expected
 
   block: # mfoo2.customext
@@ -243,7 +243,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]\n"
+    var expected = &"Hint: used config file '{filename}' [Conf]\31\n"
     doAssert outp.endsWith "123" & "\n" & expected