-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cleanup formatter tests #1159
Cleanup formatter tests #1159
Conversation
1454b0c
to
5316148
Compare
public class CaseChangersTest { | ||
|
||
@Test | ||
public void testChangeCaseLower() { | ||
Assert.assertEquals("", CaseChangers.TO_LOWER_CASE.format("")); | ||
Assert.assertEquals("lower", CaseChangers.TO_LOWER_CASE.format("LOWER")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a cleanup PR, could you please also move these test cases to separate test files for the respective CaseChanger (e.g. LowerCaseFormatterTests)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 8e0ce84
LGTM 👍 just a few remarks. |
4f8fe59
to
529bdab
Compare
I want to get this into v3.3 as i have another commit based on that, which adds |
LGTM as it is. |
8e0ce84
to
d7cb2bf
Compare
I rebased onto master |
This is a minor cleanup to the formatter tests. Tests covered in FormatterTests were removed from the concrete formatter classes. A comment pointing to the general tests has been added to all concrete test classes.