Skip to content

Conversation

JamieEdge
Copy link
Contributor

Fixes #80.

Based on #78 to update tests and avoid causing a failure due to a nil value being expected, as referenced below.

expectedErr := Error{testErr, nil}

⚠️ This may be considered a breaking change because some consumers of the package may expect the length of the error to be the maximum number of attempts rather than the actual number.

@JaSei
Copy link
Collaborator

JaSei commented Jan 3, 2023

thank you for your PR

@JaSei JaSei merged commit e1515ac into avast:master Jan 3, 2023
JaSei pushed a commit that referenced this pull request Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Length of Error returned by Do does not reflect number of attempts
2 participants