This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit 3c5913a88b622d040beee81491e78267e5887fbb
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 25 08:36:39 2023 -0500

    Organize imports
---
 .../codec/language/MatchRatingApproachEncoderTest.java | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
 
b/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
index 7f10ecd8..c54a10a5 100644
--- 
a/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
+++ 
b/src/test/java/org/apache/commons/codec/language/MatchRatingApproachEncoderTest.java
@@ -473,6 +473,11 @@ public class MatchRatingApproachEncoderTest extends 
AbstractStringEncoderTest<Ma
         assertEquals(0, 
this.getStringEncoder().leftToRightThenRightToLeftProcessing("EINSTEIN", 
"MICHAELA"));
     }
 
+    @Test
+    public final void testPunctuationOnly() {
+        assertEquals(this.getStringEncoder().encode(".,-"), "");
+    }
+
     @Test
     public final void 
testRemoveDoubleConsonants_MISSISSIPPI_RemovedSuccessfully() {
         assertEquals("MISISIPI", 
this.getStringEncoder().removeDoubleConsonants("MISSISSIPPI"));
@@ -498,25 +503,20 @@ public class MatchRatingApproachEncoderTest extends 
AbstractStringEncoderTest<Ma
         assertEquals("DCLN", this.getStringEncoder().removeVowels("DECLAN"));
     }
 
+    // ***** END REGION - TEST GET MRA COMPARISONS
+
     @Test
     public final void testRemoveVowel_ALESSANDRA_Returns_ALSSNDR() {
         assertEquals("ALSSNDR", 
this.getStringEncoder().removeVowels("ALESSANDRA"));
     }
 
-    // ***** END REGION - TEST GET MRA COMPARISONS
-
     @Test
-    public final void testPunctuationOnly() {
-        assertEquals(this.getStringEncoder().encode(".,-"), "");
+    public final void testVowelAndPunctuationOnly() {
+        assertEquals(this.getStringEncoder().encode("uoiea.,-AEIOU"), "U");
     }
 
     @Test
     public final void testVowelOnly() {
         assertEquals(this.getStringEncoder().encode("aeiouAEIOU"), "A");
     }
-
-    @Test
-    public final void testVowelAndPunctuationOnly() {
-        assertEquals(this.getStringEncoder().encode("uoiea.,-AEIOU"), "U");
-    }
 }

Reply via email to