diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-07-15 04:04:04 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-07-15 04:04:04 -0700 |
| commit | c5b7322319a9559423fcda5c20c3b2e22338b2b4 (patch) | |
| tree | 3d1dc5c5378ac41ab5ca24f549721a882583454f | |
| parent | 804b51b179bf7af689d308a092d1b02e94674570 (diff) | |
| download | zig-c5b7322319a9559423fcda5c20c3b2e22338b2b4.tar.gz zig-c5b7322319a9559423fcda5c20c3b2e22338b2b4.zip | |
TrailerFlags test: fix bad alignment assumption on 32-bit
| -rw-r--r-- | lib/std/meta/trailer_flags.zig | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
