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:
Ryan McKinley 2015-03-11 15:19:01 +00:00
parent cf8c363f8e
commit e8eaf479c3
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* /*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * 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"); ((NamedList)result.get("field_types").get("location_rpt")).get("index");
List<NamedList> tokenList = tokens.get("org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream"); 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") );
} }
} }