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

Use assert and require in a more idiomatic way in our tests #634

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

jgiannuzzi
Copy link
Member

This PR changes the way we use assert and require to the more idiomatic way of using the test suite directly.

For example, this

assert.Equal(s.T(), expected, actual)

becomes

s.Equal(expected, actual)

@jgiannuzzi jgiannuzzi self-assigned this Nov 21, 2023
@jgiannuzzi jgiannuzzi merged commit 392b41f into G-Research:main Nov 21, 2023
@jgiannuzzi jgiannuzzi deleted the idiomatic-asserts branch November 21, 2023 10:24
@jgiannuzzi
Copy link
Member Author

Part of the work for #561.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants