formatting

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@822161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-10-06 08:11:56 +00:00
parent 4e082e1482
commit 72a154af8b
1 changed files with 4 additions and 5 deletions

View File

@ -561,10 +561,9 @@ public class TestXPathRecordReader {
XPathRecordReader rr = new XPathRecordReader("/root/node");
rr.addField("id", "/root/node/id", true);
rr.addField("desc", "/root/node/desc", true);
try {
rr.getAllRecords(new StringReader(malformedXml));
Assert.fail("A RuntimeException was expected: the input XML is invalid.");
}
catch (Exception e) { }
try {
rr.getAllRecords(new StringReader(malformedXml));
Assert.fail("A RuntimeException was expected: the input XML is invalid.");
} catch (Exception e) { }
}
}