]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Fix line termination windows
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 24 Jun 2015 14:51:32 +0000 (16:51 +0200)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 24 Jun 2015 14:51:32 +0000 (16:51 +0200)
sonar-runner-impl/src/test/java/org/sonar/runner/impl/LogsTest.java

index 51b088ab53614c1ff12580e50ff7e7a24a44c5c4..467bb85fd0ff9096bdde2b7bc7b53cf30853ab56 100644 (file)
@@ -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;