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:
Yonik Seeley 2009-08-14 15:43:28 +00:00
parent be7ce2712d
commit 6ff16abc0e
1 changed files with 1 additions and 1 deletions

View File

@ -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(