Skip to content

Commit

Permalink
fixup test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Philipp Hafer committed Aug 6, 2023
1 parent b112548 commit 8b4888b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/std/os/test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1221,10 +1221,10 @@ test "fchmodat smoke test" {
}

test "getDefaultPageSize smoke test" {
const page_size = os.getDefaultPageSize();
const page_size = try os.getDefaultPageSize();
switch (page_size) {
// zig fmt: off
1024, 4096, 8192, 16384, 16384, 32768, // 1, 4, 8, 16, 32KB
1024, 2048, 4096, 8192, 16384, 32768, // 1, 2, 4, 8, 16, 32KB
2097152, 4194304 => {}, // 2, 4MB
// zig fmt: on
else => return error.InvalidDefaultPageSize,
Expand Down

0 comments on commit 8b4888b

Please sign in to comment.