summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/reject/topaque.nim24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/reject/topaque.nim b/tests/reject/topaque.nim
index ac390835b..f0587c959 100644
--- a/tests/reject/topaque.nim
+++ b/tests/reject/topaque.nim
@@ -1,18 +1,18 @@
 discard """
   file: "topaque.nim"
   line: 16
-  errormsg: "undeclared field: \'buffer\'"
+  errormsg: "undeclared identifier: \'buffer\'"
 """
-# Test the new opaque types

-

-import 

-  mopaque

-  

-var

-  L: TLexer

-  

-L.filename = "ha"

-L.line = 34

-L.buffer[0] = '\0' #ERROR_MSG undeclared field: 'buffer'

+# Test the new opaque types
+
+import 
+  mopaque
+  
+var
+  L: TLexer
+  
+L.filename = "ha"
+L.line = 34
+L.buffer[0] = '\0' #ERROR_MSG undeclared field: 'buffer'