IOUtilsTestCase#testToByteArray_InputStream_NegativeSize: fix typo
MODIFY
src/test/java/org/apache/commons/io/IOUtilsTestCase.java
src/test/java/org/apache/commons/io/IOUtilsTestCase.java
@@ -904,7 +904,7 @@ public synchronized void close() throws IOException {
try (FileInputStream fin = new FileInputStream(m_testFile)) {
IOUtils.toByteArray(fin, -1);
- fail("IllegalArgumentException excepted");
+ fail("IllegalArgumentException expected");
} catch (final IllegalArgumentException exc) {
assertTrue("Exception message does not start with \"Size must be equal or greater than zero\"", exc
.getMessage().startsWith("Size must be equal or greater than zero"));

IOUtilsTestCase#testToByteArray_InputStream_NegativeSize: fix typo