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:
Erik Hatcher 2005-04-04 10:16:37 +00:00
parent 4e580e221e
commit 0ff227ff0a
1 changed files with 1 additions and 1 deletions

View File

@ -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);