mirror of https://github.com/apache/lucene.git
Fix test by removing non-longest token.
This commit is contained in:
parent
b7cad98c6a
commit
eb3389061b
|
@ -255,12 +255,10 @@ public class TestCompoundWordTokenFilter extends BaseTokenStreamTestCase {
|
|||
|
||||
assertTokenStreamContents(
|
||||
tf,
|
||||
new String[] {
|
||||
"Basfiolsfodralmakaregesäll", "Bas", "fiolsfodral", "fodral", "makare", "gesäll"
|
||||
},
|
||||
new int[] {0, 0, 0, 0, 0, 0},
|
||||
new int[] {26, 26, 26, 26, 26, 26},
|
||||
new int[] {1, 0, 0, 0, 0, 0});
|
||||
new String[] {"Basfiolsfodralmakaregesäll", "Bas", "fiolsfodral", "makare", "gesäll"},
|
||||
new int[] {0, 0, 0, 0, 0},
|
||||
new int[] {26, 26, 26, 26, 26},
|
||||
new int[] {1, 0, 0, 0, 0});
|
||||
}
|
||||
|
||||
public void testTokenEndingWithWordComponentOfMinimumLength() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue