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:
Robert Muir 2012-01-29 17:35:34 +00:00
parent bc95fc57e6
commit bd284f8084
1 changed files with 1 additions and 1 deletions

View File

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