make more tests green

This commit is contained in:
Andreas Rumpf 2018-08-13 12:29:03 +02:00
commit 7f49364fd0
16 changed files with 39 additions and 102 deletions

View file

@ -40,7 +40,7 @@ when isMainModule:
test: 18827361,
test2: "hello world",
test3: true,
testNil: nil
testNil: "nil"
)
let node = %x
@ -53,7 +53,7 @@ when isMainModule:
doAssert y.test == 18827361
doAssert y.test2 == "hello world"
doAssert y.test3
doAssert y.testNil.isNil
doAssert y.testNil == "nil"
# Test for custom object variants (without an enum) and with an else branch.
block: