diff options
author | Araq <rumpf_a@web.de> | 2018-08-22 17:34:16 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-08-22 17:34:16 +0200 |
commit | 78e2b515a220a54cb887e21c0098bcd39ce0d055 (patch) | |
tree | a510ad2f4dfd986dfeb2164e1633c2dbcc93e783 /tests/manyloc | |
parent | eeafb1a7207749564876bfd96953c15e4f5a8472 (diff) | |
download | Nim-78e2b515a220a54cb887e21c0098bcd39ce0d055.tar.gz |
make nake test compile again
Diffstat (limited to 'tests/manyloc')
-rw-r--r-- | tests/manyloc/nake/nake.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manyloc/nake/nake.nim b/tests/manyloc/nake/nake.nim index fc871cb80..ff3c10a17 100644 --- a/tests/manyloc/nake/nake.nim +++ b/tests/manyloc/nake/nake.nim @@ -75,7 +75,7 @@ else: of cmdArgument: task = key else: discard - if printTaskList or task.isNil or not(tasks.hasKey(task)): + if printTaskList or task.len == 0 or not(tasks.hasKey(task)): echo "Available tasks:" for name, task in pairs(tasks): echo name, " - ", task.desc |