Use a single line to trick surefire testing

This commit is contained in:
games647 2019-05-02 11:37:35 +02:00
parent 1a1070e4ad
commit c59ac3c071
No known key found for this signature in database
GPG Key ID: BFC68C8708713A88
1 changed files with 1 additions and 3 deletions

View File

@ -39,9 +39,7 @@ public class Log4JInstallerTest {
levelColors.put(LoggingLevel.TRACE, "blue");
String configFormat = "[%d{HH:mm:ss} %level]: %msg%n";
String expected = "[%d{HH:mm:ss} %highlight{%level}{" +
"WARN=yellow, ERROR=red, DEBUG=green, FATAL=red, TRACE=blue, INFO=green" +
"}]: %msg%n";
String expected = "[%d{HH:mm:ss} %highlight{%level}{WARN=yellow, ERROR=red, DEBUG=green, FATAL=red, TRACE=blue, INFO=green}]: %msg%n";
assertThat(installer.mapLoggingLevels(configFormat, levelColors), is(expected));
}