diff options
author | Araq <rumpf_a@web.de> | 2018-08-22 15:43:36 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-08-22 15:43:36 +0200 |
commit | eeafb1a7207749564876bfd96953c15e4f5a8472 (patch) | |
tree | 9ce1c375bc0ee766895cc407befadb5a6e6a392a /tests/template | |
parent | 27f488e5d9ad0e40b23fba7ab1a8b713c823e92c (diff) | |
download | Nim-eeafb1a7207749564876bfd96953c15e4f5a8472.tar.gz |
make tdefault_nil test compile again
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/tdefault_nil.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/tdefault_nil.nim b/tests/template/tdefault_nil.nim index 311a6c090..783f77388 100644 --- a/tests/template/tdefault_nil.nim +++ b/tests/template/tdefault_nil.nim @@ -3,7 +3,7 @@ import sequtils, os template glob_rst(basedir: string = ""): untyped = - if baseDir.isNil: + if baseDir.len == 0: to_seq(walk_files("*.rst")) else: to_seq(walk_files(basedir/"*.rst")) |