From 8f3c22896adc06b6c5f646540924dc3a39170e45 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 12 May 2026 19:56:59 +0900 Subject: [PATCH] internal/pkg: DCE benchmark unwrap only This eliminates noise at lower depths. Signed-off-by: Ophestra --- internal/pkg/pkg_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() } }