summary refs log tree commit diff stats
path: root/tests/errmsgs/twrongcolon.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/twrongcolon.nim')
-rw-r--r--tests/errmsgs/twrongcolon.nim7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/errmsgs/twrongcolon.nim b/tests/errmsgs/twrongcolon.nim
index 6f5cc3e5d..06e802eb7 100644
--- a/tests/errmsgs/twrongcolon.nim
+++ b/tests/errmsgs/twrongcolon.nim
@@ -1,11 +1,10 @@
 discard """
-errormsg: "in expression '("
+errormsg: "in expression ' do:"
 nimout: '''
-Error: in expression '(
-  890)': identifier expected, but found ''
+twrongcolon.nim(10, 12) Error: in expression ' do:
+  890': identifier expected, but found ''
 '''
 
-line: 11
 """
 
 var n: int : 890