summary refs log tree commit diff stats
path: root/tests/errmsgs/tmake_tuple_visible.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-05-15 17:59:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-05-15 17:59:06 +0200
commit2339542832f754cffda5905b3ed6fdbf8766cad7 (patch)
tree8218a289a8e59da6f7941606b18554c17bc0d091 /tests/errmsgs/tmake_tuple_visible.nim
parentde6b2e88d23e2a697cd772958463aa2201bece1d (diff)
downloadNim-2339542832f754cffda5905b3ed6fdbf8766cad7.tar.gz
Tuple error message (#11141); fixes #3211
Diffstat (limited to 'tests/errmsgs/tmake_tuple_visible.nim')
-rw-r--r--tests/errmsgs/tmake_tuple_visible.nim7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/errmsgs/tmake_tuple_visible.nim b/tests/errmsgs/tmake_tuple_visible.nim
index e059368ad..90b965c64 100644
--- a/tests/errmsgs/tmake_tuple_visible.nim
+++ b/tests/errmsgs/tmake_tuple_visible.nim
@@ -1,9 +1,6 @@
 discard """
-  errormsg: '''got <tuple of (type NimEdAppWindow, int)>'''
-  line: 22
-  nimout: '''got <tuple of (type NimEdAppWindow, int)>
-but expected one of:
-template xxx(tn: typedesc; i: int)'''
+  errormsg: '''Mixing types and values in tuples is not allowed.'''
+  line: 19
 """
 
 type