mirror of https://github.com/apache/lucene.git
Merged revision(s) 1665899 from lucene/dev/branches/branch_5x:
SOLR-7228: fix test ........ git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cf8c363f8e
commit
e8eaf479c3
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
|
@ -423,6 +423,6 @@ public class FieldAnalysisRequestHandlerTest extends AnalysisRequestHandlerTestB
|
|||
((NamedList)result.get("field_types").get("location_rpt")).get("index");
|
||||
List<NamedList> tokenList = tokens.get("org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream");
|
||||
|
||||
assertEquals("s", tokenList.get(0).get("text") );
|
||||
assertTrue( tokenList.get(0).get("text").toString().startsWith("s") );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue