You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by mi...@apache.org on 2016/08/19 20:28:23 UTC

[15/19] logging-log4j2 git commit: Adjust line # after previous source edit.

Adjust line # after previous source edit.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/20cff4f8
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/20cff4f8
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/20cff4f8

Branch: refs/heads/LOG4J2-1528
Commit: 20cff4f803399a65673e06dfba582f5c2d03ff71
Parents: 6a4c88d
Author: Gary Gregory <gg...@apache.org>
Authored: Fri Aug 19 02:38:28 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Fri Aug 19 02:38:28 2016 -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/20cff4f8/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 b4fb905..185432e 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
@@ -241,7 +241,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:241 entry ======%n");
+        final String expectSuffix1 = String.format("====== PatternLayoutTest.testPatternSelector:243 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") //