aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/main_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-05 20:13:19 +0900
committerOphestra <cat@gensokyo.uk>2025-11-05 20:13:19 +0900
commit9fd97e71d0330d6b6509f28686cf53825bc80941 (patch)
tree35774cbde4c1abd9967a1de98341a732ff3b464f /internal/outcome/main_test.go
parentfba201c9953a490da914b09e09eaaa697a4b36e1 (diff)
treewide: fit test untyped int literals in 32-bit
This enables hakurei test suite to run on 32-bit targets. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/main_test.go')
-rw-r--r--internal/outcome/main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/outcome/main_test.go b/internal/outcome/main_test.go
index 861478d1..e5b9af1e 100644
--- a/internal/outcome/main_test.go
+++ b/internal/outcome/main_test.go
@@ -701,7 +701,7 @@ type stubNixOS struct {
}
func (k *stubNixOS) getppid() int { return 0xbad }
-func (k *stubNixOS) getpid() int { return 0xdeadbeef }
+func (k *stubNixOS) getpid() int { return 0xdead }
func (k *stubNixOS) getuid() int { return 1971 }
func (k *stubNixOS) getgid() int { return 100 }