Skip to content

Commit

Permalink
Add more tests for toLowerCaseAndDotted
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed May 14, 2024
1 parent ba34b44 commit edef45b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -186,6 +187,7 @@ void toLowerCaseAndDotted() {
assertEquals("test.language.\"de.etr\"", StringUtil.toLowerCaseAndDotted("TEST_LANGUAGE__DE_ETR__"));
assertEquals("%foo.bar", StringUtil.toLowerCaseAndDotted("_FOO_BAR"));
assertEquals(".\"foo.bar", StringUtil.toLowerCaseAndDotted("__FOO_BAR"));
assertNotNull(StringUtil.toLowerCaseAndDotted("00_PYTHON_2_7"));
}

@Test
Expand Down

0 comments on commit edef45b

Please sign in to comment.