diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-31 13:02:38 -0700 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-31 21:37:35 -0400 |
| commit | 3fc6fc68129219a026ae3d7dff82513758e33a21 (patch) | |
| tree | ab1a4fdc8886513ddbbfa7167ecf92eede629cfd /test/behavior/align.zig | |
| parent | 149200aac5f7f78fbb3427e3a9445c80efd2116b (diff) | |
| download | zig-3fc6fc68129219a026ae3d7dff82513758e33a21.tar.gz zig-3fc6fc68129219a026ae3d7dff82513758e33a21.zip | |
std.builtin.Endian: make the tags lower case
Let's take this breaking change opportunity to fix the style of this
enum.
Diffstat (limited to 'test/behavior/align.zig')
| -rw-r--r-- | test/behavior/align.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behavior/align.zig b/test/behavior/align.zig index 217d0b7c15..7b95cf8a56 100644 --- a/test/behavior/align.zig +++ b/test/behavior/align.zig @@ -616,8 +616,8 @@ test "sub-aligned pointer field access" { const ptr: *align(1) Header = @ptrCast(buf[1..][0..8]); const x = ptr.bytes_len; switch (builtin.cpu.arch.endian()) { - .Big => try expect(x == 0x06070809), - .Little => try expect(x == 0x09080706), + .big => try expect(x == 0x06070809), + .little => try expect(x == 0x09080706), } } |
