OK. The problem with this one seems pretty obvious. The test will only pass one 
day a month as it is including the day of the month in the expected pattern.

Ralph

On Jan 19, 2014, at 8:05 PM, Ralph Goers <ralph.go...@dslextreme.com> wrote:

> -------------------------------------------------------------------------------
> Test set: org.apache.logging.log4j.core.pattern.PatternParserTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.368 sec <<< 
> FAILURE! - in org.apache.logging.log4j.core.pattern.PatternParserTest
> testNestedPatternHighlight(org.apache.logging.log4j.core.pattern.PatternParserTest)
>   Time elapsed: 0.009 sec  <<< FAILURE!
> java.lang.AssertionError: Expected to start with: ^[[30m13 . Actual: ^[[30m20 
> Jan 2014 03:59:58,145 [Thread1] TRACE: Hello, world
> ^[[m
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at 
> org.apache.logging.log4j.core.pattern.PatternParserTest.testNestedPatternHighlight(PatternParserTest.java:135)
>         at 
> org.apache.logging.log4j.core.pattern.PatternParserTest.testNestedPatternHighlight(PatternParserTest.java:112)

Reply via email to