This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new c18ca7b  Wrong file checked for size.
c18ca7b is described below

commit c18ca7bd8427af4648dc03233cfbbf475e84c5b4
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 7 14:17:15 2020 -0400

    Wrong file checked for size.
---
 src/test/java/org/apache/commons/io/FileUtilsTestCase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/io/FileUtilsTestCase.java 
b/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
index 644a019..473a23a 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
@@ -1234,7 +1234,7 @@ public class FileUtilsTestCase {
         final long now = System.currentTimeMillis() - 1000L;
         FileUtils.copyFile(testFile1, destFile, false);
         assertTrue(destFile.exists(), "Check Exist");
-        assertEquals(testFile2Size, destFile.length(), "Check Full copy");
+        assertEquals(testFile1Size, destFile.length(), "Check Full copy");
         final long destLastMod = getLastModifiedMillis(destFile);
         final long unexpected = getLastModifiedMillis(testFile1);
         assertNotEquals(unexpected, destLastMod,

Reply via email to