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/file_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/pkg/file_test.go') diff --git a/internal/pkg/file_test.go b/internal/pkg/file_test.go index ca0046ab..734be8b0 100644 --- a/internal/pkg/file_test.go +++ b/internal/pkg/file_test.go @@ -11,9 +11,7 @@ func TestFile(t *testing.T) { t.Parallel() checkWithCache(t, []cacheTestCase{ - {"file", nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { - c.SetStrict(true) - + {"file", pkg.CValidateKnown, nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { cureMany(t, c, []cureStep{ {"short", pkg.NewFile("null", []byte{0}), base.Append( "identifier", -- cgit v1.3.1