aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-05-24 09:45:23 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-05-24 09:46:07 +0200
commitde4e5702ce7bcc201830e0a36396472141f7ee2d (patch)
treeb9c4049a8f1894f9a7536dc8d216ae30a2fe831a
parent6ef4bd924b7ae3c93d32b82eb0c926411b72d30d (diff)
downloadsonarqube-de4e5702ce7bcc201830e0a36396472141f7ee2d.tar.gz
sonarqube-de4e5702ce7bcc201830e0a36396472141f7ee2d.zip
Ease test failure investigation
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java4
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();
}
/**