Skip to content

Fix require.ErrorIs argument order #2645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

require.ErrorIs takes in (err, targetErr)

How this works

Reverse the order of the arguments.

How this was tested

N/A

@StephenButtolph StephenButtolph added testing This primarily focuses on testing cleanup Code quality improvement labels Jan 22, 2024
@StephenButtolph StephenButtolph added this to the v1.10.19 milestone Jan 22, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 22, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 22, 2024
Merged via the queue into master with commit e65fac7 Jan 22, 2024
@StephenButtolph StephenButtolph deleted the fix-erroris-checks branch January 22, 2024 20:59
chand1012 pushed a commit to multisig-labs/avalanchego that referenced this pull request Oct 1, 2024
Co-authored-by: Chloe <99216251+coffeeavax@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants