From 6fc4535e330945a008e361c5ff248e844374207b Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Sat, 27 Apr 2024 09:31:03 +0600 Subject: [PATCH] test(fanal): remove unneeded error check --- .../analyzer/language/conda/environment/environment_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/fanal/analyzer/language/conda/environment/environment_test.go b/pkg/fanal/analyzer/language/conda/environment/environment_test.go index 02139200bd15..b9a8098b2879 100644 --- a/pkg/fanal/analyzer/language/conda/environment/environment_test.go +++ b/pkg/fanal/analyzer/language/conda/environment/environment_test.go @@ -89,7 +89,6 @@ func Test_environmentAnalyzer_Analyze(t *testing.T) { }) if tt.wantErr != "" { - require.Error(t, err) require.ErrorContains(t, err, tt.wantErr) return }