diff --git a/src/test/java/org/apache/commons/logging/log4j2/CallerInformationTestCase.java b/src/test/java/org/apache/commons/logging/log4j2/CallerInformationTestCase.java index 970ec39..9bad253 100644 --- a/src/test/java/org/apache/commons/logging/log4j2/CallerInformationTestCase.java +++ b/src/test/java/org/apache/commons/logging/log4j2/CallerInformationTestCase.java @@ -63,7 +63,7 @@ public class CallerInformationTestCase extends TestCase { public void testLocationInfo() { appender.clear(); // The following value must match the line number - final int currentLineNumber = 65; + final int currentLineNumber = 66; log.fatal(OBJ); log.fatal(OBJ, T); log.error(OBJ); diff --git a/src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java b/src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java index d24cbf2..f4537ce 100644 --- a/src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java +++ b/src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java @@ -75,7 +75,7 @@ public class CallerInformationTestCase extends TestCase { public void testLocationInfo() { appender.list.clear(); // The following value must match the line number - final int currentLineNumber = 77; + final int currentLineNumber = 78; log.fatal(STRING); log.fatal(STRING, T); log.error(STRING);