aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/file_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-03 16:15:50 +0900
committerOphestra <cat@gensokyo.uk>2026-04-03 16:16:55 +0900
commit5093a06026b0f4abe6b16ccf5381a19caf594166 (patch)
treec68bfce417b1ba13b3f0d01ba8849086ec5eb36d /internal/pkg/file_test.go
parent50c1d7f8806de519161bbc07bbc6f73b69f6bece (diff)
internal/pkg: cache flags
This is cleaner for extending the API. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/file_test.go')
-rw-r--r--internal/pkg/file_test.go4
1 files changed, 1 insertions, 3 deletions
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",