aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/stub/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/stub/errors.go')
-rw-r--r--container/stub/errors.go2
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 {