aboutsummaryrefslogtreecommitdiff
path: root/tests/core/sys
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2024-10-28 19:45:31 +0100
committerLaytan <laytanlaats@hotmail.com>2024-10-28 19:58:39 +0100
commit7e12e37df900e2264a45d65574cda30b9faeedeb (patch)
treea24d8a253cb4fb30d0a59802f2af77ec8edb2661 /tests/core/sys
parentb7140875cfb3b699fc26001936a8974b71b6aafb (diff)
fix test
Diffstat (limited to 'tests/core/sys')
-rw-r--r--tests/core/sys/posix/posix.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/sys/posix/posix.odin b/tests/core/sys/posix/posix.odin
index c215747e4..8daffc5b9 100644
--- a/tests/core/sys/posix/posix.odin
+++ b/tests/core/sys/posix/posix.odin
@@ -196,7 +196,7 @@ test_stat :: proc(t: ^testing.T) {
stat: posix.stat_t
testing.expect_value(t, posix.stat(#file, &stat), posix.result.OK)
testing.expect(t, posix.S_ISREG(stat.st_mode))
- testing.expect_value(t, stat.st_mode, posix.mode_t{.IROTH, .IRGRP, .IRUSR, .IWGRP, .IWUSR, .IFREG})
+ testing.expect_value(t, stat.st_mode, posix.mode_t{.IROTH, .IRGRP, .IRUSR, .IWUSR, .IFREG})
CONTENT := #load(#file)
testing.expect_value(t, stat.st_size, posix.off_t(len(CONTENT)))