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:
Michael McCandless 2014-05-21 16:54:17 +00:00
parent c722f2fb9a
commit 48b16e5fa0
1 changed files with 2 additions and 2 deletions

View File

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