diff options
author | Araq <rumpf_a@web.de> | 2011-08-10 01:16:32 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-08-10 01:16:32 +0200 |
commit | d5dd4669df9827920e7e9f1864171c09ac15fbb2 (patch) | |
tree | 4b96b78dc0015d95da14c9b1553116958d160402 /tests/accept | |
parent | 72e7a98543e711164574664b0f280637fce28f89 (diff) | |
download | Nim-d5dd4669df9827920e7e9f1864171c09ac15fbb2.tar.gz |
further tests for var T result type; ttables test now fails :-(
Diffstat (limited to 'tests/accept')
-rwxr-xr-x | tests/accept/run/ttables.nim | 3 |
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]() |