Author: jerome Date: Fri Aug 19 12:26:14 2005 New Revision: 233544 URL: http://svn.apache.org/viewcvs?rev=233544&view=rev Log: Correction in LanguageIdentifier unit test
Modified: lucene/nutch/trunk/src/plugin/languageidentifier/src/test/org/apache/nutch/analysis/lang/TestLanguageIdentifier.java Modified: lucene/nutch/trunk/src/plugin/languageidentifier/src/test/org/apache/nutch/analysis/lang/TestLanguageIdentifier.java URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/languageidentifier/src/test/org/apache/nutch/analysis/lang/TestLanguageIdentifier.java?rev=233544&r1=233543&r2=233544&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/languageidentifier/src/test/org/apache/nutch/analysis/lang/TestLanguageIdentifier.java (original) +++ lucene/nutch/trunk/src/plugin/languageidentifier/src/test/org/apache/nutch/analysis/lang/TestLanguageIdentifier.java Fri Aug 19 12:26:14 2005 @@ -223,7 +223,7 @@ String testLine = null; while((testLine = testFile.readLine()) != null) { testLine = testLine.trim(); - if (testLine.length() > 64) { + if (testLine.length() > 256) { lang = idfr.identify(testLine); assertEquals(tokens[1], lang); }