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

openapi3: refactor tests: use BoolPtr, require.Same #809

Merged
merged 1 commit into from
Jun 20, 2023
Merged

openapi3: refactor tests: use BoolPtr, require.Same #809

merged 1 commit into from
Jun 20, 2023

Conversation

alexandear
Copy link
Contributor

This PR refactors tests:

  • use openapi3.BoolPtr instead of declaring own function in every test;
  • use require.Same instead of require.True;
  • use require.EqualValues instead of reflect.DeepEqual.

@fenollp fenollp merged commit f333d82 into getkin:master Jun 20, 2023
@alexandear alexandear deleted the openapi3-refactor-tests branch June 20, 2023 11:34
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