We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a43bc10 commit 9db0545Copy full SHA for 9db0545
any+/anytype.zig
@@ -158,5 +158,5 @@ test "Invalid casts" {
158
159
test "Anytype formatting" {
160
try std.testing.expectFmt("255", "{}", .{initExplicit(u8, 255)});
161
- try std.testing.expectFmt("123.456", "{}", .{initExplicit(f32, 123.456)});
+ try std.testing.expectFmt("1.23456001e+02", "{}", .{initExplicit(f32, 123.456)});
162
}
0 commit comments