aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/pkg/pkg_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go
index c514cbb6..4ce4ba6a 100644
--- a/internal/pkg/pkg_test.go
+++ b/internal/pkg/pkg_test.go
@@ -1622,9 +1622,10 @@ func BenchmarkEarlyDCE(b *testing.B) {
b.Fatalf("Cure: error = %v", err)
}
c.Close()
+ dce := err.(*pkg.DependencyCureError)
for b.Loop() {
- err.Error()
+ dce.Unwrap()
}
}