diff options
Diffstat (limited to 'tests/stdlib/tjson_unmarshall.nim')
-rw-r--r-- | tests/stdlib/tjson_unmarshall.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/stdlib/tjson_unmarshall.nim b/tests/stdlib/tjson_unmarshall.nim index 69bed3ac9..4353d1ee2 100644 --- a/tests/stdlib/tjson_unmarshall.nim +++ b/tests/stdlib/tjson_unmarshall.nim @@ -1,4 +1,5 @@ discard """ + targets: "c js" output: ''' Original: (kind: P, pChildren: @[(kind: Text, textStr: "mychild"), (kind: Br)]) jsonNode: {"kind":"P","pChildren":[{"kind":"Text","textStr":"mychild"},{"kind":"Br"}]} @@ -6,7 +7,7 @@ Reversed: (kind: P, pChildren: @[(kind: Text, textStr: "mychild"), (kind: Br)]) ''' """ -import json +import std/json type ContentNodeKind* = enum |