mirror of https://github.com/apache/lucene.git
switch dotted u character to use unicode value reference
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@160023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e580e221e
commit
0ff227ff0a
|
@ -6,7 +6,7 @@ import java.io.StringReader;
|
|||
|
||||
public class TestISOLatin1AccentFilter extends TestCase {
|
||||
public void testU() throws Exception {
|
||||
TokenStream stream = new WhitespaceTokenizer(new StringReader("ü"));
|
||||
TokenStream stream = new WhitespaceTokenizer(new StringReader("\u00FC"));
|
||||
ISOLatin1AccentFilter filter = new ISOLatin1AccentFilter(stream);
|
||||
Token token = filter.next();
|
||||
assertEquals("u", token.termText);
|
||||
|
|
Loading…
Reference in New Issue