mirror of https://github.com/apache/lucene.git
fix double metaphone test to match current behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@804265 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be7ce2712d
commit
6ff16abc0e
|
@ -97,7 +97,7 @@ public class DoubleMetaphoneFilterTest extends TestCase {
|
|||
new String[] { "12345", "#$%@#^%&" });
|
||||
TokenStream filter = new DoubleMetaphoneFilter(stream, 8, false);
|
||||
|
||||
assertNull(filter.next(new Token()));
|
||||
assertEquals("12345", filter.next(new Token()).term());
|
||||
|
||||
// should have something after the stream
|
||||
stream = new IterTokenStream(
|
||||
|
|
Loading…
Reference in New Issue