aboutsummaryrefslogtreecommitdiff
path: root/lib/std/json/test.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-03-29 22:40:32 -0400
committerGitHub <noreply@github.com>2020-03-29 22:40:32 -0400
commitb717df786bbf9b42abf1db1ec3fdae183debfdea (patch)
tree84320af40ef7ee890c1896aa51ec3319f9fe9c00 /lib/std/json/test.zig
parentf9f7deaeda20b212ae4daea0009a904beccdf828 (diff)
parent6809222d32e204ac46ee7b7b86a6ba5ebce955e6 (diff)
downloadzig-b717df786bbf9b42abf1db1ec3fdae183debfdea.tar.gz
zig-b717df786bbf9b42abf1db1ec3fdae183debfdea.zip
Merge pull request #4845 from xackus/fix-parseFloat
fix overflow in parseFloat and cleanup
Diffstat (limited to 'lib/std/json/test.zig')
-rw-r--r--lib/std/json/test.zig8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/std/json/test.zig b/lib/std/json/test.zig
index 6873fa038a..5d46b75a48 100644
--- a/lib/std/json/test.zig
+++ b/lib/std/json/test.zig
@@ -1751,11 +1751,9 @@ test "i_number_double_huge_neg_exp" {
}
test "i_number_huge_exp" {
- return error.SkipZigTest;
- // FIXME Integer overflow in parseFloat
- // any(
- // \\[0.4e00669999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999969999999006]
- // );
+ any(
+ \\[0.4e00669999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999969999999006]
+ );
}
test "i_number_neg_int_huge_exp" {