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.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/rosa/rosa_test.go b/internal/rosa/rosa_test.go
index f9dcb1a2..5a80ba32 100644
--- a/internal/rosa/rosa_test.go
+++ b/internal/rosa/rosa_test.go
@@ -78,7 +78,7 @@ func TestCureAll(t *testing.T) {
t.Parallel()
for _, p := range rosa.Native().Collect() {
- a, _ := rosa.Native().Load(rosa.Std, p)
+ a, _ := rosa.Native().Std().MustLoad(p)
meta := rosa.Native().MustGet(p)
t.Run(meta.Name, func(t *testing.T) {
t.Parallel()
@@ -93,13 +93,13 @@ func TestCureAll(t *testing.T) {
}
func BenchmarkStage3(b *testing.B) {
- s := rosa.Native().Clone()
+ t := rosa.Native().Clone().Std()
for b.Loop() {
- s.Load(rosa.Std, rosa.LLVM)
+ t.MustLoad(rosa.LLVM)
b.StopTimer()
- s.DropCaches("", 0)
+ t.DropCaches("", 0)
b.StartTimer()
}
}