made tests green again

This commit is contained in:
Araq 2012-08-31 00:00:14 +02:00
commit b56df72a32
11 changed files with 16 additions and 8 deletions

View file

@ -13,6 +13,7 @@ proc testBlock(): string {.compileTime.} =
result = "ta-da"
macro mac(n: expr): expr =
let n = callsite()
expectKind(n, nnkCall)
expectLen(n, 2)
expectKind(n[1], nnkStrLit)