Skip to content

Commit 9db0545

Browse files
fix(anytype): make test pass
1 parent a43bc10 commit 9db0545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

any+/anytype.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,5 @@ test "Invalid casts" {
158158

159159
test "Anytype formatting" {
160160
try std.testing.expectFmt("255", "{}", .{initExplicit(u8, 255)});
161-
try std.testing.expectFmt("123.456", "{}", .{initExplicit(f32, 123.456)});
161+
try std.testing.expectFmt("1.23456001e+02", "{}", .{initExplicit(f32, 123.456)});
162162
}

0 commit comments

Comments
 (0)