summary refs log tree commit diff stats
path: root/tests/testament
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-14 22:22:04 +0200
committerAraq <rumpf_a@web.de>2014-08-14 22:22:04 +0200
commit4ab56d6be02de18d5da71f97918ff7d3c78e8340 (patch)
tree42b358e982f663f62bc9610f0ae3bf460267fcbc /tests/testament
parent06ad50b671f4d236ac558f6fe71fc374f80ead2a (diff)
downloadNim-4ab56d6be02de18d5da71f97918ff7d3c78e8340.tar.gz
some minor fixes
Diffstat (limited to 'tests/testament')
-rw-r--r--tests/testament/specs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testament/specs.nim b/tests/testament/specs.nim
index 6e72f4b5e..184f07c51 100644
--- a/tests/testament/specs.nim
+++ b/tests/testament/specs.nim
@@ -53,7 +53,7 @@ const
   targetToExt*: array[TTarget, string] = ["c", "cpp", "m", "js"]
   targetToCmd*: array[TTarget, string] = ["c", "cpp", "objc", "js"]
 
-when not defined(parseCfgBool):
+when not declared(parseCfgBool):
   # candidate for the stdlib:
   proc parseCfgBool(s: string): bool =
     case normalize(s)