mirror of https://github.com/apache/lucene.git
adjust test for html strip changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@826243 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4bf5482a8
commit
b38eff8eec
|
@ -315,7 +315,7 @@ public class FieldAnalysisRequestHandlerTest extends AnalysisRequestHandlerTestB
|
|||
assertEquals(" whatever ", indexPart.get("org.apache.lucene.analysis.MappingCharFilter"));
|
||||
|
||||
List<NamedList> tokenList = (List<NamedList>)indexPart.get("org.apache.lucene.analysis.WhitespaceTokenizer");
|
||||
assertNotNull("Expcting WhitespaceTokenizer analysis breakdown", tokenList);
|
||||
assertNotNull("Expecting WhitespaceTokenizer analysis breakdown", tokenList);
|
||||
assertEquals(tokenList.size(), 1);
|
||||
assertToken(tokenList.get(0), new TokenInfo("whatever", null, "word", 12, 20, 1, null, false));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue