Skip to content
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

Fix test asserts: reverse expected-actual params #2013

Merged
merged 1 commit into from
May 15, 2024

Conversation

alexandear
Copy link
Contributor

This PR fixes tests by reversing passed parameters to the require.Equal according to the signature (actual after expected):

func Equal(t TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool

@alexandear alexandear changed the title Fix test asserts: reverse expected-actual Fix test asserts: reverse expected-actual params May 14, 2024
@jackc jackc merged commit c05cce7 into jackc:master May 15, 2024
14 checks passed
@jackc
Copy link
Owner

jackc commented May 15, 2024

Thanks!

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.

2 participants