aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/align.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-31 13:02:38 -0700
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-31 21:37:35 -0400
commit3fc6fc68129219a026ae3d7dff82513758e33a21 (patch)
treeab1a4fdc8886513ddbbfa7167ecf92eede629cfd /test/behavior/align.zig
parent149200aac5f7f78fbb3427e3a9445c80efd2116b (diff)
downloadzig-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.zig4
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),
}
}