Author: tdunning
Date: Wed Aug 18 17:26:46 2010
New Revision: 986801

URL: http://svn.apache.org/viewvc?rev=986801&view=rev
Log:
Made locale reference less US-centric

Modified:
    
mahout/trunk/core/src/test/java/org/apache/mahout/vectors/TextValueEncoderTest.java

Modified: 
mahout/trunk/core/src/test/java/org/apache/mahout/vectors/TextValueEncoderTest.java
URL: 
http://svn.apache.org/viewvc/mahout/trunk/core/src/test/java/org/apache/mahout/vectors/TextValueEncoderTest.java?rev=986801&r1=986800&r2=986801&view=diff
==============================================================================
--- 
mahout/trunk/core/src/test/java/org/apache/mahout/vectors/TextValueEncoderTest.java
 (original)
+++ 
mahout/trunk/core/src/test/java/org/apache/mahout/vectors/TextValueEncoderTest.java
 Wed Aug 18 17:26:46 2010
@@ -61,7 +61,7 @@ public class TextValueEncoderTest {
   @Test
   public void testAsString() {
     Locale.setDefault(Locale.ENGLISH);
-    FeatureVectorEncoder enc = new TextValueEncoder("text");
-    Assert.assertEquals("[text:test1:1.0000, text:and:1.0000, 
text:more:1.0000]", enc.asString("test1 and more"));
+    TextValueEncoder enc = new TextValueEncoder("text");
+    assertEquals("[text:test1:1.0000, text:and:1.0000, text:more:1.0000]", 
enc.asString("test1 and more"));
   }
 }


Reply via email to