fixes json.nim regression
This commit is contained in:
parent
dafd995402
commit
f8e720fda9
2 changed files with 5 additions and 16 deletions
|
|
@ -517,10 +517,6 @@ when true:
|
|||
doAssert v.name == "smith"
|
||||
doAssert MyRef(w).name == "smith"
|
||||
|
||||
block test_tuple:
|
||||
doAssert $(%* (a1: 10, a2: "foo")) == """{"a1":10,"a2":"foo"}"""
|
||||
doAssert $(%* (10, "foo")) == """[10,"foo"]"""
|
||||
|
||||
# TODO: when the issue with the limeted vm registers is solved, the
|
||||
# exact same test as above should be evaluated at compile time as
|
||||
# well, to ensure that the vm functionality won't diverge from the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue