We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d8c35 commit a09c518Copy full SHA for a09c518
maven3-junit4-runner/src/main/java/io/tech/runner/junit/TestResultFormatter.java
@@ -2,6 +2,7 @@
2
3
import java.io.BufferedOutputStream;
4
import java.io.PrintStream;
5
+import java.nio.charset.StandardCharsets;
6
7
import org.junit.runner.notification.Failure;
8
import org.junit.runner.notification.RunListener;
@@ -35,11 +36,9 @@ public void testFailure(Failure failure) {
35
36
}
37
38
- PrintStream ps = new PrintStream(new BufferedOutputStream(System.err));
39
-
40
for (int i = 0, il = stackLines.length; i < il; i++) {
41
if (i < excludeStart || i > excludeStop) {
42
- ps.print(stackLines[i]);
+ System.err.println(stackLines[i]);
43
44
45
0 commit comments