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.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/errmsgs/twrongcolon.nim b/tests/errmsgs/twrongcolon.nim
index e59e37660..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 ':
+twrongcolon.nim(10, 12) Error: in expression ' do:
   890': identifier expected, but found ''
 '''
 
-line: 11
 """
 
 var n: int : 890