Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

Commit 0306e66

Browse files
author
Felix Van der Jeugt
committed
testcases with a test don't need the assertion error description
1 parent 7e853d5 commit 0306e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dodona/junit/JSONListener.java

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public void aftertest(Failure failure) {
9595
testcase.addMessage(((AnnotatedThrowable) thrown).getFeedback());
9696
} else if(thrown instanceof TestCarryingThrowable) {
9797
testcase.addChild(((TestCarryingThrowable) thrown).getTest());
98+
testcase.setDescription(null);
9899
} else if(!(thrown instanceof AssertionError)) {
99100
feedback.setStatus(Status.RUNTIME_ERROR);
100101
testcase.setDescription(Message.code(thrown.toString()));

0 commit comments

Comments
 (0)