mirror of https://github.com/apache/lucene.git
fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1596617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c722f2fb9a
commit
48b16e5fa0
|
@ -514,8 +514,8 @@ public class TestFieldCacheVsDocValues extends LuceneTestCase {
|
|||
BytesRef expectedBytes = new BytesRef();
|
||||
BytesRef actualBytes = new BytesRef();
|
||||
for (long i = 0; i < expected.getValueCount(); i++) {
|
||||
expected.lookupTerm(expectedBytes);
|
||||
actual.lookupTerm(actualBytes);
|
||||
expected.lookupOrd(i, expectedBytes);
|
||||
actual.lookupOrd(i, actualBytes);
|
||||
assertEquals(expectedBytes, actualBytes);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue