From: Duarte Meneses Date: Wed, 24 Jun 2015 14:51:32 +0000 (+0200) Subject: Fix line termination windows X-Git-Tag: 2.5-rc1~74 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8d8bc9bf3d4964f71e9c0e0d719ad1416ba8c16a;p=sonar-scanner-cli.git Fix line termination windows --- 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;