mirror of https://github.com/apache/lucene.git
remove 2 invalid tests of modified utf8 null byte
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731727 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c40a7d8397
commit
0b3705a012
|
@ -58,13 +58,6 @@ public class TestIndexInput extends LuceneTestCase {
|
|||
// null bytes
|
||||
0x01, 0x00,
|
||||
0x08, 'L', 'u', 0x00, 'c', 'e', 0x00, 'n', 'e',
|
||||
|
||||
// Modified UTF-8 null bytes
|
||||
0x02, (byte) 0xC0, (byte) 0x80,
|
||||
0x0A, 'L', 'u', (byte) 0xC0, (byte) 0x80,
|
||||
'c', 'e', (byte) 0xC0, (byte) 0x80,
|
||||
'n', 'e',
|
||||
|
||||
});
|
||||
|
||||
assertEquals(128,is.readVInt());
|
||||
|
@ -85,9 +78,6 @@ public class TestIndexInput extends LuceneTestCase {
|
|||
|
||||
assertEquals("\u0000",is.readString());
|
||||
assertEquals("Lu\u0000ce\u0000ne",is.readString());
|
||||
|
||||
assertEquals("\u0000",is.readString());
|
||||
assertEquals("Lu\u0000ce\u0000ne",is.readString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue