From 5093a06026b0f4abe6b16ccf5381a19caf594166 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 3 Apr 2026 16:15:50 +0900 Subject: internal/pkg: cache flags This is cleaner for extending the API. Signed-off-by: Ophestra --- internal/pkg/tar_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/pkg/tar_test.go') diff --git a/internal/pkg/tar_test.go b/internal/pkg/tar_test.go index c604dc78..49861d2e 100644 --- a/internal/pkg/tar_test.go +++ b/internal/pkg/tar_test.go @@ -21,7 +21,7 @@ func TestTar(t *testing.T) { t.Parallel() checkWithCache(t, []cacheTestCase{ - {"http", nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { + {"http", 0, nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { checkTarHTTP(t, base, c, fstest.MapFS{ ".": {Mode: fs.ModeDir | 0700}, @@ -42,7 +42,7 @@ func TestTar(t *testing.T) { )) }, pkg.MustDecode("NQTlc466JmSVLIyWklm_u8_g95jEEb98PxJU-kjwxLpfdjwMWJq0G8ze9R4Vo1Vu")}, - {"http expand", nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { + {"http expand", 0, nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { checkTarHTTP(t, base, c, fstest.MapFS{ ".": {Mode: fs.ModeDir | 0700}, -- cgit v1.3.1