mirror of https://github.com/apache/lucene.git
formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@822161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e082e1482
commit
72a154af8b
|
@ -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) { }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue