From 8d8bc9bf3d4964f71e9c0e0d719ad1416ba8c16a Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 24 Jun 2015 16:51:32 +0200 Subject: [PATCH] Fix line termination windows --- .../src/test/java/org/sonar/runner/impl/LogsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sonar-runner-impl/src/test/java/org/sonar/runner/impl/LogsTest.java b/sonar-runner-impl/src/test/java/org/sonar/runner/impl/LogsTest.java index 51b088a..467bb85 100644 --- a/sonar-runner-impl/src/test/java/org/sonar/runner/impl/LogsTest.java +++ b/sonar-runner-impl/src/test/java/org/sonar/runner/impl/LogsTest.java @@ -32,9 +32,9 @@ import static org.assertj.core.api.Assertions.assertThat; import org.junit.Before; public class LogsTest { - private static final String EXPECTED_DEBUG = "DEBUG: debug\n"; - private static final String EXPECTED_INFO = "INFO: info\n"; - private static final String EXPECTED_ERROR = "ERROR: error\n"; + private static final String EXPECTED_DEBUG = "DEBUG: debug" + System.lineSeparator(); + private static final String EXPECTED_INFO = "INFO: info" + System.lineSeparator(); + private static final String EXPECTED_ERROR = "ERROR: error" + System.lineSeparator(); private ByteArrayOutputStream recordedSystemOut; private ByteArrayOutputStream recordedSystemErr; -- 2.39.5