TrailerFlags test: fix bad alignment assumption on 32-bit

This commit is contained in:
Andrew Kelley
2020-07-15 04:04:04 -07:00
parent 804b51b179
commit c5b7322319

View File

@@ -124,7 +124,6 @@ test "TrailerFlags" {
.b = true,
.c = 1234,
});
testing.expect(flags.sizeInBytes() == 16);
const slice = try testing.allocator.allocAdvanced(u8, 8, flags.sizeInBytes(), .exact);
defer testing.allocator.free(slice);