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 }