From c5b7322319a9559423fcda5c20c3b2e22338b2b4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 15 Jul 2020 04:04:04 -0700 Subject: [PATCH] TrailerFlags test: fix bad alignment assumption on 32-bit --- lib/std/meta/trailer_flags.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/std/meta/trailer_flags.zig b/lib/std/meta/trailer_flags.zig index e1e216cde6..0da7ca815a 100644 --- a/lib/std/meta/trailer_flags.zig +++ b/lib/std/meta/trailer_flags.zig @@ -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);