diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-08-25 21:56:21 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-08-25 21:56:21 +0200 |
commit | b9322010e935e0f42894e3b69127f1e19a4a5a62 (patch) | |
tree | 96e2547daf254fd39785f06d72fde23a2b604287 /tests/closure | |
parent | 9b365ddfddc14f3387134948d1828d1d515a44b1 (diff) | |
download | Nim-b9322010e935e0f42894e3b69127f1e19a4a5a62.tar.gz |
make tests green again
Diffstat (limited to 'tests/closure')
-rw-r--r-- | tests/closure/tclosure4.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/closure/tclosure4.nim b/tests/closure/tclosure4.nim index 69c076cd5..bc134ded6 100644 --- a/tests/closure/tclosure4.nim +++ b/tests/closure/tclosure4.nim @@ -1,7 +1,7 @@ import json, tables, sequtils -proc run(json_params: Table) = +proc run(json_params: OrderedTable) = let json_elems = json_params["files"].elems # These fail compilation. var files = map(json_elems, proc (x: JsonNode): string = x.str) |