summary refs log tree commit diff stats
path: root/tests/overload/tissue966.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/overload/tissue966.nim')
-rw-r--r--tests/overload/tissue966.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/overload/tissue966.nim b/tests/overload/tissue966.nim
index 2911348cf..d0a723875 100644
--- a/tests/overload/tissue966.nim
+++ b/tests/overload/tissue966.nim
@@ -1,11 +1,11 @@
 discard """
-  errormsg: "type mismatch: got (PTest)"
+  errormsg: "type mismatch: got <PTest>"
 """
 
 type
   PTest = ref object
 
-proc test(x: PTest, y: int) = nil
+proc test(x: PTest, y: int) = discard
 
 var buf: PTest
 buf.test()