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/errors.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/errors.go')
| -rw-r--r-- | container/stub/errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/stub/errors.go b/container/stub/errors.go index 4d13a67f..d97b6256 100644 --- a/container/stub/errors.go +++ b/container/stub/errors.go @@ -13,7 +13,7 @@ var ( type UniqueError uintptr func (e UniqueError) Error() string { - return "unique error " + strconv.Itoa(int(e)) + " injected by the test suite" + return "unique error " + strconv.FormatUint(uint64(e), 10) + " injected by the test suite" } func (e UniqueError) Is(target error) bool { |
