Skip to content

Commit 190f190

Browse files
committed
Fix tests
1 parent 7cdadb4 commit 190f190

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_json_in_json.nim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@ block:
3131
block:
3232
# https://github.com/treeform/jsony/issues/30
3333
let s = r"""[9e-8]"""
34-
echo fromJson(s)
35-
doAssert $fromJson(s) == "[9e-008]"
34+
doAssert fromJson(s)[0].getFloat() == 9e-8

0 commit comments

Comments
 (0)