We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29593ec commit ac3676cCopy full SHA for ac3676c
src/main/java/org/apache/maven/plugin/surefire/report/ActualTreePrinter.java
@@ -144,7 +144,9 @@ private void printClass(Node node) {
144
}
145
146
private String cleanReportName(Node node) {
147
- if (node.getParent().getClassReportEntry() != null) {
+ if (node.getParent().getClassReportEntry() != null &&
148
+ node.getClassReportEntry().getReportNameWithGroup().startsWith(node.getParent().getClassReportEntry().getReportNameWithGroup())
149
+ ) {
150
int stringSizeToRemove = node.getParent().getClassReportEntry().getReportNameWithGroup().length() + 1;
151
return node.getClassReportEntry().getReportNameWithGroup().substring(stringSizeToRemove);
152
} else {
0 commit comments