From de4e5702ce7bcc201830e0a36396472141f7ee2d Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 24 May 2016 09:45:23 +0200 Subject: Ease test failure investigation --- .../src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java | 4 ++-- 1 file 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(); } /** -- cgit v1.2.3