Skip to content

Commit a6e417f

Browse files
committed
Don't use the Maven name "target" for a test fixture to avoid confusion
Even though, in this specific case, the actual directory is not the Maven "target" folder.
1 parent f8c9f5b commit a6e417f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ void testCopyDirectoryPreserveDates() throws Exception {
925925
assertTrue(setLastModifiedMillis(sourceDirectory, DATE2));
926926
assertTrue(setLastModifiedMillis(source, DATE1));
927927

928-
final File target = new File(tempDirFile, "target");
928+
final File target = new File(tempDirFile, "dest");
929929
final File targetDirectory = new File(target, "directory");
930930
final File targetFile = new File(targetDirectory, "hello.txt");
931931

0 commit comments

Comments
 (0)