From c59ac3c071b46a9e3625fe52ec1348bd69004eb9 Mon Sep 17 00:00:00 2001 From: games647 Date: Thu, 2 May 2019 11:37:35 +0200 Subject: [PATCH] Use a single line to trick surefire testing --- .../games647/colorconsole/common/Log4JInstallerTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/com/github/games647/colorconsole/common/Log4JInstallerTest.java b/src/test/java/com/github/games647/colorconsole/common/Log4JInstallerTest.java index faf1da1..9e52e9c 100644 --- a/src/test/java/com/github/games647/colorconsole/common/Log4JInstallerTest.java +++ b/src/test/java/com/github/games647/colorconsole/common/Log4JInstallerTest.java @@ -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)); }