commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1304129 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java
Date Thu, 22 Mar 2012 23:20:58 GMT
Author: sebb
Date: Thu Mar 22 23:20:58 2012
New Revision: 1304129

URL: http://svn.apache.org/viewvc?rev=1304129&view=rev
Log:
Test case bug

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java?rev=1304129&r1=1304128&r2=1304129&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/filefilter/FileFilterTestCase.java
Thu Mar 22 23:20:58 2012
@@ -1101,7 +1101,7 @@ public class FileFilterTestCase extends 
             // expected
         }
         try {
-            new MagicNumberFileFilter(new byte[]{0}, 0);
+            new MagicNumberFileFilter(new byte[]{0}, -1);
             fail();
         } catch (IllegalArgumentException iae) {
             // expected



Mime
View raw message