diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-03 16:15:50 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-03 16:16:55 +0900 |
| commit | 5093a06026b0f4abe6b16ccf5381a19caf594166 (patch) | |
| tree | c68bfce417b1ba13b3f0d01ba8849086ec5eb36d /internal/pkg/ir_test.go | |
| parent | 50c1d7f8806de519161bbc07bbc6f73b69f6bece (diff) | |
internal/pkg: cache flags
This is cleaner for extending the API.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/ir_test.go')
| -rw-r--r-- | internal/pkg/ir_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go index a946d60f..de33c74f 100644 --- a/internal/pkg/ir_test.go +++ b/internal/pkg/ir_test.go @@ -85,7 +85,7 @@ func TestIRRoundtrip(t *testing.T) { testCasesCache := make([]cacheTestCase, len(testCases)) for i, tc := range testCases { want := tc.a - testCasesCache[i] = cacheTestCase{tc.name, nil, + testCasesCache[i] = cacheTestCase{tc.name, 0, nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { r, w := io.Pipe() |
