Fix test
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6054027b Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6054027b Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6054027b Branch: refs/heads/master Commit: 6054027bed8c96f0c1a18f2d375ee864f6b17a1c Parents: f2d0675 Author: Ralph Goers <rgo...@nextiva.com> Authored: Sat Oct 3 22:45:20 2015 -0700 Committer: Ralph Goers <rgo...@nextiva.com> Committed: Sat Oct 3 23:15:31 2015 -0700 ---------------------------------------------------------------------- .../org/apache/logging/log4j/core/layout/PatternLayoutTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6054027b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java index 90c6b39..53335d6 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java @@ -323,7 +323,7 @@ public class PatternLayoutTest { .setIncludeLocation(true) .setMessage(new SimpleMessage("entry")).build(); final String result1 = new FauxLogger().formatEvent(event1, layout); - final String expectSuffix1 = String.format("====== PatternLayoutTest.testPatternSelector:281 entry ======%n"); + final String expectSuffix1 = String.format("====== PatternLayoutTest.testPatternSelector:325 entry ======%n"); assertTrue("Unexpected result: " + result1, result1.endsWith(expectSuffix1)); final LogEvent event2 = Log4jLogEvent.newBuilder() // .setLoggerName(this.getClass().getName()).setLoggerFqcn("org.apache.logging.log4j.core.Logger") //