logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1583370 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
Date Mon, 31 Mar 2014 16:29:32 GMT
Author: ggregory
Date: Mon Mar 31 16:29:32 2014
New Revision: 1583370

URL: http://svn.apache.org/r1583370
Log:
Show why the test clean up is failing in the JUnit assert message.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java?rev=1583370&r1=1583369&r2=1583370&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
Mon Mar 31 16:29:32 2014
@@ -56,7 +56,7 @@ public class FileOutputTest {
         final File file = new File(STATUS_LOG);
         assertTrue("Status output file does not exist", file.exists());
         assertTrue("File is empty", file.length() > 0);
-        assertTrue("Couldn't delete file", file.delete());
+        assertTrue("Couldn't delete file " + file, file.delete());
     }
 
 }



Mime
View raw message