mirror of https://github.com/apache/lucene.git
LUCENE-6271: remove nocommit from LTC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07c20804b1
commit
c82e9d47cd
|
@ -1984,12 +1984,8 @@ public abstract class LuceneTestCase extends Assert {
|
|||
* checks docs + freqs + positions + payloads, sequentially
|
||||
*/
|
||||
public void assertDocsAndPositionsEnumEquals(String info, PostingsEnum leftDocs, PostingsEnum rightDocs) throws IOException {
|
||||
if (leftDocs == null || rightDocs == null) {
|
||||
// nocommit: this should now only be for term or field not existing, is this assert used in that way?
|
||||
assertNull(leftDocs);
|
||||
assertNull(rightDocs);
|
||||
return;
|
||||
}
|
||||
assertNotNull(leftDocs);
|
||||
assertNotNull(rightDocs);
|
||||
assertEquals(info, -1, leftDocs.docID());
|
||||
assertEquals(info, -1, rightDocs.docID());
|
||||
int docid;
|
||||
|
|
Loading…
Reference in New Issue