logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1528050 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
Date Tue, 01 Oct 2013 11:45:27 GMT
Author: ggregory
Date: Tue Oct  1 11:45:26 2013
New Revision: 1528050

URL: http://svn.apache.org/r1528050
Log:
Fix typo in Assert message.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java?rev=1528050&r1=1528049&r2=1528050&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
Tue Oct  1 11:45:26 2013
@@ -122,7 +122,7 @@ public class PatternParserTest {
         }
         final String str = buf.toString();
         final String expected = String.format("] INFO : Hello, world%s\u001B[m", Constants.LINE_SEP);
-        assertTrue(" Expected to end with: " + expected + ". Actual: " + str, str.endsWith(expected));
+        assertTrue("Expected to end with: " + expected + ". Actual: " + str, str.endsWith(expected));
     }
 
 }



Mime
View raw message