diff options
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java b/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java index 867c53b5013..4edabf3e9a4 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java @@ -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(); } /** |