should have been submitted with c707778

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Josh Micich 2008-10-24 23:19:26 +00:00
parent ffd6eab0da
commit a55f5b5aaa

View File

@ -284,14 +284,10 @@ public class TestDocumentInputStream
{
DocumentInputStream stream = new DocumentInputStream(_workbook);
try
{
try {
stream.read(null, 0, 1);
fail("Should have caught NullPointerException");
}
catch (NullPointerException ignored)
{
} catch (IllegalArgumentException ignored) {
// as expected
}