We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Background
We tend to use a common pattern for asserting on the results in table-driven tests:
err := systemUnderTest(...) if tc.expectedErr { require.Error(t, err) return } require.NoError(t, err)
We should make a helper for this pattern. e.g. osmoutils.ConditionalPanics(suite, expPanic, func)
osmoutils.ConditionalPanics(suite, expPanic, func)
Originally posted by @ValarDragon in #1872 (comment)
Acceptance Criteria
The text was updated successfully, but these errors were encountered:
Hi @p0mvn I can work on this!
Sorry, something went wrong.
Awesome, thank you
stackman27
Successfully merging a pull request may close this issue.
Background
We tend to use a common pattern for asserting on the results in table-driven tests:
We should make a helper for this pattern. e.g.
osmoutils.ConditionalPanics(suite, expPanic, func)
Originally posted by @ValarDragon in #1872 (comment)
Acceptance Criteria
The text was updated successfully, but these errors were encountered: