diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-05 20:13:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-05 20:13:19 +0900 |
| commit | 9fd97e71d0330d6b6509f28686cf53825bc80941 (patch) | |
| tree | 35774cbde4c1abd9967a1de98341a732ff3b464f /container/stub/exit.go | |
| parent | fba201c9953a490da914b09e09eaaa697a4b36e1 (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 'container/stub/exit.go')
| -rw-r--r-- | container/stub/exit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/container/stub/exit.go b/container/stub/exit.go index 6470fe6e..062ee2e0 100644 --- a/container/stub/exit.go +++ b/container/stub/exit.go @@ -3,10 +3,10 @@ package stub import "testing" // PanicExit is a magic panic value treated as a simulated exit. -const PanicExit = 0xdeadbeef +const PanicExit = 0xdead const ( - panicFailNow = 0xcafe0000 + iota + panicFailNow = 0xcafe0 + iota panicFatal panicFatalf ) |
