File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/codingame/codemachine/runner/junit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
import static java .util .Collections .singletonList ;
25
25
26
26
public class JUnitTestListRunner {
27
- private static final String DEFAULT_OUTPUT = "/project/results/executions.json " ;
27
+ private static final String DEFAULT_OUTPUT = "- " ;
28
28
29
29
private static RunLogDto parseThrowable (Throwable t ) {
30
30
RunLogDto runLog = new RunLogDto ();
@@ -147,7 +147,7 @@ public void testFinished(Description description) throws Exception {
147
147
148
148
String resultOutput = System .getProperty ("codingame.junit-runner.output" , DEFAULT_OUTPUT );
149
149
String resultStr = new Gson ().toJson (results );
150
- if ("-" .equals (resultOutput )) {
150
+ if (DEFAULT_OUTPUT .equals (resultOutput )) {
151
151
realOut .println (resultStr );
152
152
}
153
153
else {
You can’t perform that action at this time.
0 commit comments