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

test: use strings.ReplaceAll, remove unnecessary else #1542

Merged
merged 1 commit into from
Apr 25, 2023
Merged

test: use strings.ReplaceAll, remove unnecessary else #1542

merged 1 commit into from
Apr 25, 2023

Conversation

alexandear
Copy link
Contributor

This PR does the following refactorings in tests:

  • use strings.ReplaceAll(...) instead of strings.Replace(..., -1);
  • remove else.

@erikdubbelboer erikdubbelboer merged commit 1aac293 into valyala:master Apr 25, 2023
@erikdubbelboer
Copy link
Collaborator

Thanks!

@alexandear alexandear deleted the refactor-http-test branch April 25, 2023 11:47
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