aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-09 09:30:56 +0900
committerOphestra <cat@gensokyo.uk>2026-07-09 09:34:27 +0900
commit2f1534853a187018b94754e5ae2f009d7c2ae347 (patch)
tree2ef558652e55a7f35eabf38a55140b2be0f8692d /internal/rosa/rosa_test.go
parent3f8e111d1c96da034ea31846d46ae1fe4bf9f93c (diff)
internal/pkg: consolidate cache attributes
This makes the interface stable. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa_test.go')
-rw-r--r--internal/rosa/rosa_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rosa/rosa_test.go b/internal/rosa/rosa_test.go
index e612c11d..c2a6451c 100644
--- a/internal/rosa/rosa_test.go
+++ b/internal/rosa/rosa_test.go
@@ -61,7 +61,9 @@ func getCache(t *testing.T) *pkg.Cache {
msg := message.New(log.New(os.Stderr, "rosa: ", 0))
msg.SwapVerbose(true)
- if buildTestCache, err = pkg.Open(ctx, msg, pkg.CSuppressInit, 0, 0, a); err != nil {
+ if buildTestCache, err = pkg.Open(ctx, msg, a, &pkg.CacheAttr{
+ Flags: pkg.CSuppressInit,
+ }); err != nil {
t.Fatal(err)
}
}