mirror of https://github.com/apache/lucene.git
LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc95fc57e6
commit
bd284f8084
|
@ -184,7 +184,7 @@ public class TestTermVectorsReader extends LuceneTestCase {
|
|||
|
||||
public void test() throws IOException {
|
||||
//Check to see the files were created properly in setup
|
||||
IndexReader reader = IndexReader.open(dir);
|
||||
DirectoryReader reader = IndexReader.open(dir);
|
||||
for (IndexReader r : reader.getSequentialSubReaders()) {
|
||||
SegmentInfo s = ((SegmentReader) r).getSegmentInfo();
|
||||
assertTrue(s.getHasVectors());
|
||||
|
|
Loading…
Reference in New Issue