mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Add more output in one test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894479 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c7e4307ac4
commit
b276d140be
@ -222,7 +222,8 @@ public final class TestXSSFExportToXML {
|
||||
XSSFExportToXml exporter = new XSSFExportToXml(map);
|
||||
UnsynchronizedByteArrayOutputStream os = new UnsynchronizedByteArrayOutputStream();
|
||||
SAXParseException ex = assertThrows(SAXParseException.class, () -> exporter.exportToXML(os, true));
|
||||
assertTrue(p.matcher(ex.getMessage()).find());
|
||||
assertTrue(p.matcher(ex.getMessage()).find(),
|
||||
"Did not find pattern " + p + " in " + ex.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user