commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1073471 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
Date Tue, 22 Feb 2011 19:45:37 GMT
Author: ggregory
Date: Tue Feb 22 19:45:37 2011
New Revision: 1073471

URL: http://svn.apache.org/viewvc?rev=1073471&view=rev
Log:
deutsch encodes to 28, NOT 288!

Modified:
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java?rev=1073471&r1=1073470&r2=1073471&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
Tue Feb 22 19:45:37 2011
@@ -125,8 +125,12 @@ public class ColognePhoneticTest extends
      * Test data from http://repo.magdev.de/src/Text_ColognePhonetic-0.2.2/test/Text_ColognePhoneticTest.php
      */
     public void testPhpData() {
-        String[][] data = {{"peter", "127"}, {"pharma", "376"}, {"bergisch-gladbach", "174845214"},
{"mönchengladbach", "664645214"},
-            // {"deutsch", "288"}, // Probably a bug
+        String[][] data = {
+            {"peter", "127"},
+            {"pharma", "376"},
+            {"bergisch-gladbach", "174845214"},
+            {"mönchengladbach", "664645214"},
+            {"deutsch", "28"},
             {"deutz", "28"},
             // {"hamburg", "6174"},
             // {"hannover", "637"},



Mime
View raw message