Skip to content

Commit f113fe9

Browse files
committed
Fix tests so the show "*?" bug, and disable for time being
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1002807 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9e61227 commit f113fe9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/test/org/apache/commons/io/FilenameUtilsWildcardTestCase.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,10 @@ public void testMatch2() {
191191
public void test_IO_246() {
192192

193193
// Tests for "*?"
194-
assertMatch("aaa", "*?", false);
194+
assertMatch("aaa", "aa*?", true);
195+
// these ought to work as well, but "*?" does not work properly at present
196+
// assertMatch("aaa", "a*?", true);
197+
// assertMatch("aaa", "*?", true);
195198

196199
// Tests for "?*"
197200
assertMatch("", "?*", false);

0 commit comments

Comments
 (0)