make more tests green
This commit is contained in:
parent
96e0b56a55
commit
975114e114
5 changed files with 19 additions and 19 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
template makeDomElement(x: untyped, name: string = nil) =
|
||||
const tag {.gensym.} = if name == nil: astToStr(x) else: name
|
||||
template makeDomElement(x: untyped, name: string = "") =
|
||||
const tag {.gensym.} = if name.len == 0: astToStr(x) else: name
|
||||
|
||||
proc x*(p: int|float) =
|
||||
echo tag, p
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# bug #2629
|
||||
import sequtils, os
|
||||
|
||||
template glob_rst(basedir: string = nil): untyped =
|
||||
template glob_rst(basedir: string = ""): untyped =
|
||||
if baseDir.isNil:
|
||||
to_seq(walk_files("*.rst"))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue