Skip to content

Commit

Permalink
Add Int64 Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
barisyild authored Jan 4, 2025
1 parent b452eed commit 5a9430f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/src/unit/TestJson.hx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class TestJson extends Test {
eq(haxe.format.JsonPrinter.print(Math.NaN), "null");
eq(haxe.format.JsonPrinter.print(function() {}), "\"<fun>\"");
eq(haxe.format.JsonPrinter.print({a: function() {}, b: 1}), "{\"b\":1}");
eq(haxe.format.JsonPrinter.print({a: function() {}, int64: haxe.Int64.parseString("123213213213213")}), "{\"int64\":123213213213213}");
}

function test3690() {
Expand Down

0 comments on commit 5a9430f

Please sign in to comment.