commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1157936 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
Date Mon, 15 Aug 2011 18:28:04 GMT
Author: sebb
Date: Mon Aug 15 18:28:04 2011
New Revision: 1157936

URL: http://svn.apache.org/viewvc?rev=1157936&view=rev
Log:
CODEC-127 Fix corrupted character

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

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java?rev=1157936&r1=1157935&r2=1157936&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
Mon Aug 15 18:28:04 2011
@@ -1224,12 +1224,12 @@ public class DoubleMetaphoneTest extends
 
     @Test
     public void testCCedilla() {
-        this.getDoubleMetaphone().isDoubleMetaphoneEqual("�", "S");
+        this.getDoubleMetaphone().isDoubleMetaphoneEqual("\u00e7", "S"); // c-cedilla
     }
     
     @Test
     public void testNTilde() {
-        this.getDoubleMetaphone().isDoubleMetaphoneEqual("�", "N");
+        this.getDoubleMetaphone().isDoubleMetaphoneEqual("\u00f1", "N"); // n-tilde
     }
     
     public void validateFixture(String[][] pairs) {



Mime
View raw message