You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/04/25 19:06:56 UTC

commons-io git commit: IOUtilsTestCase#testToByteArray_InputStream_NegativeSize: fix typo

Repository: commons-io
Updated Branches:
  refs/heads/master 41a3e9c52 -> a64b4cc53


IOUtilsTestCase#testToByteArray_InputStream_NegativeSize: fix typo


Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/a64b4cc5
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/a64b4cc5
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/a64b4cc5

Branch: refs/heads/master
Commit: a64b4cc5329f2275a5513b12622863e99a803a24
Parents: 41a3e9c
Author: pascalschumacher <pa...@gmx.net>
Authored: Tue Apr 25 21:06:46 2017 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue Apr 25 21:06:46 2017 +0200

----------------------------------------------------------------------
 src/test/java/org/apache/commons/io/IOUtilsTestCase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/a64b4cc5/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/IOUtilsTestCase.java b/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
index 83870a8..4356467 100644
--- a/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
@@ -904,7 +904,7 @@ public class IOUtilsTestCase extends FileBasedTestCase {
 
         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"));