aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa_test.go
diff options
context:
space:
mode:
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)
}
}