Skip to content

Commit

Permalink
Adjust test name
Browse files Browse the repository at this point in the history
  • Loading branch information
Renato Mameli committed May 7, 2024
1 parent 77a6738 commit 8659914
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void toEnumVarNameShouldNotResultInSingleUnderscore() throws Exception {
}

@Test
public void testEnumVarNameUnderscoreIfValueIsPascalCase() {
public void toEnumVarNameAddUnderscoresIfValueIsPascalCase() {
Assert.assertEquals(fakeJavaCodegen.toEnumVarName("OnlyCamelCase", "String"), "ONLY_CAMEL_CASE");
Assert.assertEquals(fakeJavaCodegen.toEnumVarName("WithNumber1", "String"), "WITH_NUMBER1");
Assert.assertEquals(fakeJavaCodegen.toEnumVarName("_LeadingUnderscore", "String"), "_LEADING_UNDERSCORE");
Expand Down

0 comments on commit 8659914

Please sign in to comment.