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:
parent
ffd6eab0da
commit
a55f5b5aaa
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user