diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-06-24 16:51:32 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-06-24 16:51:32 +0200 |
commit | 8d8bc9bf3d4964f71e9c0e0d719ad1416ba8c16a (patch) | |
tree | 4c56220dc6f634e9261c52cb9e4c5356da28e56d | |
parent | 7a7188b60063855d682b85a88d828e954bc4a17c (diff) | |
download | sonar-scanner-cli-8d8bc9bf3d4964f71e9c0e0d719ad1416ba8c16a.tar.gz sonar-scanner-cli-8d8bc9bf3d4964f71e9c0e0d719ad1416ba8c16a.zip |
Fix line termination windows
-rw-r--r-- | sonar-runner-impl/src/test/java/org/sonar/runner/impl/LogsTest.java | 6 |
1 files 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; |