Repository: logging-log4j2 Updated Branches: refs/heads/master 253e6ea8d -> ef513dde2
Adjust for new method location. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/ef513dde Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/ef513dde Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/ef513dde Branch: refs/heads/master Commit: ef513dde29c1e15a30e3729b94beaa814a42905e Parents: 253e6ea Author: ggregory <[email protected]> Authored: Sat Feb 13 17:28:51 2016 -0800 Committer: ggregory <[email protected]> Committed: Sat Feb 13 17:28:51 2016 -0800 ---------------------------------------------------------------------- .../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/ef513dde/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 125f08e..c4e9987 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 @@ -210,7 +210,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:327 entry ======%n"); + final String expectSuffix1 = String.format("====== PatternLayoutTest.testPatternSelector:212 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") //
