From 9fd97e71d0330d6b6509f28686cf53825bc80941 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 5 Nov 2025 20:13:19 +0900 Subject: treewide: fit test untyped int literals in 32-bit This enables hakurei test suite to run on 32-bit targets. Signed-off-by: Ophestra --- container/errors_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'container/errors_test.go') diff --git a/container/errors_test.go b/container/errors_test.go index bf742651..5c55af45 100644 --- a/container/errors_test.go +++ b/container/errors_test.go @@ -46,8 +46,8 @@ func TestMessageFromError(t *testing.T) { {"state", OpStateError("overlay"), "impossible overlay state reached", true}, - {"vfs parse", &vfs.DecoderError{Op: "parse", Line: 0xdeadbeef, Err: &strconv.NumError{Func: "Atoi", Num: "meow", Err: strconv.ErrSyntax}}, - `cannot parse mountinfo at line 3735928559: numeric field "meow" invalid syntax`, true}, + {"vfs parse", &vfs.DecoderError{Op: "parse", Line: 0xdead, Err: &strconv.NumError{Func: "Atoi", Num: "meow", Err: strconv.ErrSyntax}}, + `cannot parse mountinfo at line 57005: numeric field "meow" invalid syntax`, true}, {"tmpfs", TmpfsSizeError(-1), "tmpfs size -1 out of bounds", true}, -- cgit v1.3.1