You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2018/01/09 05:40:32 UTC
logging-log4j2 git commit: Fix bug in test introduced by commit for
LOG4J2-2177
Repository: logging-log4j2
Updated Branches:
refs/heads/master a8ef29e54 -> a925bb463
Fix bug in test introduced by commit for LOG4J2-2177
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/a925bb46
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/a925bb46
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/a925bb46
Branch: refs/heads/master
Commit: a925bb463fe535fa893f084420937ec07538cbf7
Parents: a8ef29e
Author: Ralph Goers <rg...@apache.org>
Authored: Mon Jan 8 22:40:26 2018 -0700
Committer: Ralph Goers <rg...@apache.org>
Committed: Mon Jan 8 22:40:26 2018 -0700
----------------------------------------------------------------------
.../org/apache/logging/log4j/core/pattern/PatternParserTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/a925bb46/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
index 559dc94..00c1db9 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
@@ -117,7 +117,7 @@ public class PatternParserTest {
formatter.format(event, buf);
}
final String str = buf.toString();
- final String expected = "INFO [PatternParserTest :102 ] - Hello, world" + Strings.LINE_SEPARATOR;
+ final String expected = "INFO [PatternParserTest :103 ] - Hello, world" + Strings.LINE_SEPARATOR;
assertTrue("Expected to end with: " + expected + ". Actual: " + str, str.endsWith(expected));
}