You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/09/29 20:57:01 UTC
svn commit: r1002807 -
/commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java
Author: sebb
Date: Wed Sep 29 18:57:00 2010
New Revision: 1002807
URL: http://svn.apache.org/viewvc?rev=1002807&view=rev
Log:
Fix tests so the show "*?" bug, and disable for time being
Modified:
commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java
Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java?rev=1002807&r1=1002806&r2=1002807&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java Wed Sep 29 18:57:00 2010
@@ -191,7 +191,10 @@ public class FilenameUtilsWildcardTestCa
public void test_IO_246() {
// Tests for "*?"
- assertMatch("aaa", "*?", false);
+ assertMatch("aaa", "aa*?", true);
+ // these ought to work as well, but "*?" does not work properly at present
+// assertMatch("aaa", "a*?", true);
+// assertMatch("aaa", "*?", true);
// Tests for "?*"
assertMatch("", "?*", false);