fix test to actually compare index1 vs index2, not index1 against itself

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-08-12 01:41:00 +00:00
parent 6bc248b017
commit 00fa302942
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ public void testFilesOpenClose() throws IOException {
// check dictionary and posting lists
FieldsEnum fenum1 = MultiFields.getFields(index1).iterator();
FieldsEnum fenum2 = MultiFields.getFields(index1).iterator();
FieldsEnum fenum2 = MultiFields.getFields(index2).iterator();
String field1 = null;
Bits liveDocs = MultiFields.getLiveDocs(index1);
while((field1=fenum1.next()) != null) {