authorgravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2021-02-05 11:46:43+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-02-05 10:51:45-08:00
log3e960cfffea8083b1948ba295d1a85964b5afa25
tree2bf57248b6d9061c23fd9f067cba239c0497d0d6
parent0b4bb9b84fddd8fe03fe15e25bd82babb455f2a6

zig fmt: float literal with exponent


1 files changed, 9 insertions(+), 8 deletions(-)

lib/std/zig/parser_test.zig+9-8
......@@ -1435,14 +1435,15 @@ test "zig fmt: nosuspend block" {
14351435// \\
14361436// );
14371437//}
1438//test "zig fmt: float literal with exponent" {
1439// try testCanonical(
1440// \\pub const f64_true_min = 4.94065645841246544177e-324;
1441// \\const threshold = 0x1.a827999fcef32p+1022;
1442// \\
1443// );
1444//}
1445//
1438
1439test "zig fmt: float literal with exponent" {
1440 try testCanonical(
1441 \\pub const f64_true_min = 4.94065645841246544177e-324;
1442 \\const threshold = 0x1.a827999fcef32p+1022;
1443 \\
1444 );
1445}
1446
14461447//test "zig fmt: if-else end of comptime" {
14471448// try testCanonical(
14481449// \\comptime {