summary refs log tree commit diff stats
path: root/tests/pragmas/t8741.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pragmas/t8741.nim')
-rw-r--r--tests/pragmas/t8741.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pragmas/t8741.nim b/tests/pragmas/t8741.nim
index 7398b1030..41f2f9e8a 100644
--- a/tests/pragmas/t8741.nim
+++ b/tests/pragmas/t8741.nim
@@ -1,6 +1,6 @@
 discard """
   line: 9
-  errormsg: "attempting to call undeclared routine: 'foobar'"
+  errormsg: "cannot attach a custom pragma to 'a'"
 """
 
 for a {.gensym, inject.} in @[1,2,3]: