summary refs log tree commit diff stats
path: root/tests/accept/run/ttables.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/ttables.nim')
-rwxr-xr-xtests/accept/run/ttables.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/accept/run/ttables.nim b/tests/accept/run/ttables.nim
index b492059d7..b82badccb 100755
--- a/tests/accept/run/ttables.nim
+++ b/tests/accept/run/ttables.nim
@@ -60,6 +60,9 @@ block orderedTableTest1:
     assert val == data[i][1]
     inc(i)
 
+  for key, val in mpairs(t): val = 99
+  for val in mvalues(t): assert val == 99
+
 block countTableTest1:
   var s = data.toTable
   var t = initCountTable[string]()