summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-03 07:05:37 -0700
committerGitHub <noreply@github.com>2021-04-03 16:05:37 +0200
commit4a11a04fba99e868c371be09216dc93ae2fe3cd6 (patch)
tree9959c4c2c01446f924ab8c16e704623c37fefa81 /tests/errmsgs
parentfe7a76f62fa1563a76e1dcce18e3ee98bcd5d36a (diff)
downloadNim-4a11a04fba99e868c371be09216dc93ae2fe3cd6.tar.gz
fix #14850: `repr` now correctly renders `do` (#17623)
* fix #14850: `repr` now correctly renders `do`

* add tests

* fix test
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/twrongcolon.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/errmsgs/twrongcolon.nim b/tests/errmsgs/twrongcolon.nim
index e59e37660..f4f996c3e 100644
--- a/tests/errmsgs/twrongcolon.nim
+++ b/tests/errmsgs/twrongcolon.nim
@@ -1,7 +1,7 @@
 discard """
-errormsg: "in expression ':"
+errormsg: "in expression ' do:"
 nimout: '''
-Error: in expression ':
+Error: in expression ' do:
   890': identifier expected, but found ''
 '''