Fixed bad JS codegen for new json with tables. Added json to JS tests.

This commit is contained in:
Yuriy Glukhov 2016-02-29 16:57:30 +02:00
commit 1b4fc744db
3 changed files with 38 additions and 30 deletions

View file

@ -223,7 +223,7 @@ proc jsTests(r: var TResults, cat: Category, options: string) =
"varres/tvartup", "misc/tints", "misc/tunsignedinc"]:
test "tests/" & testfile & ".nim"
for testfile in ["pure/strutils"]:
for testfile in ["pure/strutils", "pure/json"]:
test "lib/" & testfile & ".nim"
# ------------------------- manyloc -------------------------------------------