Commit c5b7322319

Andrew Kelley <andrew@ziglang.org>
2020-07-15 13:04:04
TrailerFlags test: fix bad alignment assumption on 32-bit
1 parent 804b51b
Changed files (1)
lib
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);