Fixes the compatibility with the version of Logback in Debian

Forwarded: not-needed


Gbp-Pq: Name 08_logback_compatibility.patch
This commit is contained in:
Emmanuel Bourg 2024-05-07 14:05:46 +08:00 committed by luoyaoming
parent 6ac22e1943
commit 6a2af07115
1 changed files with 0 additions and 1 deletions

View File

@ -94,7 +94,6 @@ public class CallerInformationTestCase extends TestCase {
for (int hasThrowable = 0; hasThrowable <= 1; hasThrowable++) {
final ILoggingEvent event = events.get(2 * lev + hasThrowable);
assertEquals("Correct message.", STRING, event.getMessage());
assertEquals("Correct marker.", MARKERS, event.getMarkerList());
assertEquals("Level matches.", levels[lev], event.getLevel());
final StackTraceElement[] callerData = event.getCallerData();
assertTrue("Has location", callerData != null && callerData.length > 0);