logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1582186 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/RandomAccessFileAppenderTests.java
Date Thu, 27 Mar 2014 05:01:44 GMT
Author: mattsicker
Date: Thu Mar 27 05:01:44 2014
New Revision: 1582186

URL: http://svn.apache.org/r1582186
Log:
More appropriate matcher name.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/RandomAccessFileAppenderTests.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/RandomAccessFileAppenderTests.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/RandomAccessFileAppenderTests.java?rev=1582186&r1=1582185&r2=1582186&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/RandomAccessFileAppenderTests.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/RandomAccessFileAppenderTests.java
Thu Mar 27 05:01:44 2014
@@ -71,8 +71,8 @@ public class RandomAccessFileAppenderTes
         assertNotNull(line);
         assertThat(line, containsString(message));
         final Matcher<String> containsLocationInformation = containsString("testRandomAccessConfiguration");
-        final Matcher<String> usesLocationInformationAsConfigured = this.locationEnabled
?
+        final Matcher<String> containsLocationInformationIfEnabled = this.locationEnabled
?
                 containsLocationInformation : not(containsLocationInformation);
-        assertThat(line, usesLocationInformationAsConfigured);
+        assertThat(line, containsLocationInformationIfEnabled);
     }
 }



Mime
View raw message