This commit is contained in:
Vivianne 2023-07-17 03:16:01 -07:00
parent 1a68504c21
commit ab0c90bfb6

View file

@ -97,7 +97,7 @@ test "serialize floats" {
try getty.serialize(null, @as(f64, 42.42), s);
try getty.serialize(null, @as(f32, 42.42), s);
try testing.expectEqualSlices(u8, arr.items, &[_]u8{ 'D', 64, 69, 53, 194, 143, 92, 40, 246, 'F', 66, 41, 174, 20 });
try testing.expectEqualStrings(arr.items, &[_]u8{ 'D', 64, 69, 53, 194, 143, 92, 40, 246, 'F', 66, 41, 174, 20 });
}
test "serialize strs" {