diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java index 506d58cedbb..9aafb3f95ee 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java @@ -558,6 +558,7 @@ public class TestPointValues extends LuceneTestCase { w.forceMerge(1); DirectoryReader r = w.getReader(); assertEquals(0, r.leaves().get(0).reader().getPointValues().size("int")); + assertEquals(0, r.leaves().get(0).reader().getPointValues().getDocCount("int")); w.close(); r.close(); dir.close();