Skip to content

Commit 0bf7f99

Browse files
authored
Merge pull request #686 from Vampire/qualified-name-for-unsplittable-test-classes
Do not print the class name twice for unsplittable test units
2 parents 74882cb + 3731388 commit 0bf7f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pitest/src/main/java/org/pitest/testapi/Description.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public String getFirstTestClass() {
4949
}
5050

5151
public String getQualifiedName() {
52-
if (this.testClass != null) {
52+
if ((this.testClass != null) && !this.testClass.equals(this.getName())) {
5353
return this.getFirstTestClass() + "." + this.getName();
5454
} else {
5555
return this.getName();

0 commit comments

Comments
 (0)