Simplify
This commit is contained in:
parent
1a68504c21
commit
ab0c90bfb6
1 changed files with 1 additions and 1 deletions
|
@ -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" {
|
||||
|
|
Loading…
Reference in a new issue