From e1e46504a1939aff927ae47508b0523a7305fb18 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 11 Jan 2026 04:22:04 +0900 Subject: container/check: return error backed by string type The struct turned out not necessary during initial implementation but was not unwrapped into its single string field. This change replaces it with the underlying string and removes the indirection. Signed-off-by: Ophestra --- ldd/ldd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldd') diff --git a/ldd/ldd_test.go b/ldd/ldd_test.go index a994d330..77f20a68 100644 --- a/ldd/ldd_test.go +++ b/ldd/ldd_test.go @@ -36,7 +36,7 @@ libzstd.so.1 = /usr/lib/libzstd.so.1 (0x7ff71bfd2000) {"path not absolute", ` libzstd.so.1 => usr/lib/libzstd.so.1 (0x7ff71bfd2000) -`, &check.AbsoluteError{Pathname: "usr/lib/libzstd.so.1"}}, +`, check.AbsoluteError("usr/lib/libzstd.so.1")}, {"unexpected segments", ` meow libzstd.so.1 => /usr/lib/libzstd.so.1 (0x7ff71bfd2000) -- cgit v1.3.1