]> source.dussan.org Git - sonarqube.git/commitdiff
Ease test failure investigation
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 24 May 2016 07:45:23 +0000 (09:45 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Tue, 24 May 2016 07:46:07 +0000 (09:46 +0200)
sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java

index 867c53b501305c0e2d13f05e679089b144129cce..4edabf3e9a406cc4fd2eea19c945e2b80b490f22 100644 (file)
@@ -107,8 +107,8 @@ public class LogListenerTest {
   }
 
   private void assertNoStdOutput() {
-    assertThat(stdOutTarget.toByteArray()).isEmpty();
-    assertThat(stdErrTarget.toByteArray()).isEmpty();
+    assertThat(new String(stdOutTarget.toByteArray())).isEmpty();
+    assertThat(new String(stdErrTarget.toByteArray())).isEmpty();
   }
 
   /**