* see whether it breaks

* fix #16884

* correct

* fix #14574
This commit is contained in:
flywind
2021-02-01 06:31:04 -06:00
committed by GitHub
parent a2855b66ae
commit de4f2604c2
3 changed files with 32 additions and 4 deletions

View File

@@ -42,8 +42,7 @@ template fn() =
block:
testRoundtrip({"z": "Z", "y": "Y"}.toOrderedTable): """{"z":"Z","y":"Y"}"""
when not defined(js): # pending https://github.com/nim-lang/Nim/issues/14574
testRoundtrip({"z": (f1: 'f'), }.toTable): """{"z":{"f1":102}}"""
testRoundtrip({"z": (f1: 'f'), }.toTable): """{"z":{"f1":102}}"""
block:
testRoundtrip({"name": "John", "city": "Monaco"}.newStringTable): """{"mode":"modeCaseSensitive","table":{"city":"Monaco","name":"John"}}"""