[TEST] Fix test bug in MultiOrdinalsTests.

This commit is contained in:
Adrien Grand 2014-04-28 13:55:31 +02:00
parent 2dfc77a4ed
commit 22cbdd930c
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ public class MultiOrdinalsTests extends ElasticsearchTestCase {
assertIter(docs, docId, array); assertIter(docs, docId, array);
} }
for (int i = docId + 1; i < ordAndId.id; i++) { for (int i = docId + 1; i < ordAndId.id; i++) {
assertThat(docs.getOrd(i), equalTo(0L)); assertThat(docs.getOrd(i), equalTo(Ordinals.MISSING_ORDINAL));
} }
docId = ordAndId.id; docId = ordAndId.id;
docOrds.clear(); docOrds.clear();