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

LocalTestServerContext: use "expected[s]" as assertion parameter name #445

Conversation

apjanke
Copy link
Contributor

@apjanke apjanke commented Jun 30, 2018

Would you consider using just "expected" and "expecteds" as the assertion method parameter names, instead of "expectedValue" and "expectedValues"? This improves consistency with JUnit Assert's own methods, which use "expected" and "expecteds", and, imho, improves readability in IDEs like IntelliJ which display inline parameter name hints.

No behavior changes in this PR, just a refactor for readability.

@domesticmouse domesticmouse merged commit 7f5a824 into googlemaps:master Jul 1, 2018
@apjanke apjanke deleted the just-expected-as-assertion-parameter-name branch July 2, 2018 01: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.

None yet

2 participants