summary refs log tree commit diff stats
path: root/tests/tuples/tanontuples.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tuples/tanontuples.nim')
-rw-r--r--tests/tuples/tanontuples.nim6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tuples/tanontuples.nim b/tests/tuples/tanontuples.nim
index a2babf038..80bd32b7b 100644
--- a/tests/tuples/tanontuples.nim
+++ b/tests/tuples/tanontuples.nim
@@ -1,5 +1,6 @@
 discard """
-  output: "61, 125"
+  output: '''61, 125
+89'''
 """
 
 proc `^` (a, b: int): int =
@@ -13,3 +14,6 @@ m = (n[0] + m[1], m[1] ^ n[1])
 
 echo m[0], ", ", m[1]
 
+var x = (bar: 38)
+x = (foo: 89)
+echo x[0]