Skip to content

Commit 9fa8d7a

Browse files
author
Niall Pemberton
committed
Use LICENSE.txt instead of STATUS.html in file/directory filter tests (STATUS.html isn't in the source distro created by the ant build)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@493980 13f79535-47bb-0310-9956-ffa450edef68
1 parent 80dea5e commit 9fa8d7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void testDirectory() throws Exception {
141141
assertFiltering(filter, new File("imaginary"), false);
142142
assertFiltering(filter, new File("imaginary/"), false);
143143

144-
assertFiltering(filter, new File("STATUS.html"), false);
144+
assertFiltering(filter, new File("LICENSE.txt"), false);
145145

146146
assertSame(DirectoryFileFilter.DIRECTORY, DirectoryFileFilter.INSTANCE);
147147
}
@@ -158,7 +158,7 @@ public void testFiles() throws Exception {
158158
assertFiltering(filter, new File("imaginary"), false);
159159
assertFiltering(filter, new File("imaginary/"), false);
160160

161-
assertFiltering(filter, new File("STATUS.html"), true);
161+
assertFiltering(filter, new File("LICENSE.txt"), true);
162162
}
163163

164164
public void testPrefix() throws Exception {

0 commit comments

Comments
 (0)