From 3078c41ce74d7c04a7db3e47cdc00a5d49496887 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 2 Jan 2026 15:39:42 +0900 Subject: internal/pkg: encode entry in custom format The fact that Gob serialisation is deterministic is an implementation detail. This change replaces Gob with a simple custom format. Signed-off-by: Ophestra --- internal/pkg/pkg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg/pkg_test.go') diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go index c73049e5..bd2096d9 100644 --- a/internal/pkg/pkg_test.go +++ b/internal/pkg/pkg_test.go @@ -211,7 +211,7 @@ func TestCache(t *testing.T) { } }, func(t *testing.T, base *check.Absolute) { wantChecksum := pkg.MustDecode( - "lvK4lY9bQUFscHpxqHmiPvptjUwOgn3BFhzCXZMeupkY1n22WUPSuh7pswEvVZrx", + "ZNSQH-mjhtIbFvi51lQ0UjatjoS8_5ILrBPNWlO2LWTq9P6MJEnekYzP0esUJnVr", ) if checksum, err := pkg.HashDir(base); err != nil { t.Fatalf("HashDir: error = %v", err) -- cgit v1.3.1