From c090c1bab1243e325578a5558ac5e451f816d5e8 Mon Sep 17 00:00:00 2001 From: Keith Zantow Date: Mon, 4 Nov 2024 15:13:41 -0500 Subject: [PATCH] chore: pr feedback Signed-off-by: Keith Zantow --- syft/pkg/cataloger/binary/classifier_cataloger_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syft/pkg/cataloger/binary/classifier_cataloger_test.go b/syft/pkg/cataloger/binary/classifier_cataloger_test.go index 45e86277275..d477d6e7fab 100644 --- a/syft/pkg/cataloger/binary/classifier_cataloger_test.go +++ b/syft/pkg/cataloger/binary/classifier_cataloger_test.go @@ -1667,7 +1667,8 @@ func Test_Cataloger_ResilientToErrors(t *testing.T) { c := NewClassifierCataloger(DefaultClassifierCatalogerConfig()) resolver := &panicyResolver{} - _, _, _ = c.Catalog(context.Background(), resolver) + _, _, err := c.Catalog(context.Background(), resolver) + assert.Nil(t, err) // non-coordinate-based FindBy* errors are now logged and not returned assert.True(t, resolver.searchCalled) }