Use a single line to trick surefire testing
This commit is contained in:
parent
1a1070e4ad
commit
c59ac3c071
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue