diff --git a/internal/cli/options/options_test.go b/internal/cli/options/options_test.go index 7661071b..adc01757 100644 --- a/internal/cli/options/options_test.go +++ b/internal/cli/options/options_test.go @@ -56,6 +56,6 @@ func TestSBOMOptions_Validate(t *testing.T) { require.ErrorAs(t, err, &validationError) require.Len(t, validationError.Errors, 1) - require.Contains(t, validationError.Errors[0].Error(), "invalid serial number") + require.Contains(t, validationError.Errors[0].Error(), "serial number") }) }