Make some code neater.

This commit is contained in:
Kitteh 2021-06-04 19:28:00 +01:00
parent cbfe5267ea
commit a6a1e6ba71

View file

@ -19,16 +19,5 @@ test "serialize String" {
try writeString(byteList.writer(), std.testing.allocator, "owo");
try std.testing.expect(std.mem.eql(u8, byteList.items, &[_]u8{
0,
0,
0,
6,
0,
111,
0,
119,
0,
111,
}));
try std.testing.expect(std.mem.eql(u8, byteList.items, &[_]u8{ 0x00, 0x00, 0x00, 0x06, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x6f }));
}