diff --git a/src/main.zig b/src/main.zig index c0d311b..08b23bb 100644 --- a/src/main.zig +++ b/src/main.zig @@ -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" {