Skip to content

Commit

Permalink
Merge pull request #686 from Vampire/qualified-name-for-unsplittable-…
Browse files Browse the repository at this point in the history
…test-classes

Do not print the class name twice for unsplittable test units
  • Loading branch information
hcoles authored Oct 5, 2019
2 parents 74882cb + 3731388 commit 0bf7f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pitest/src/main/java/org/pitest/testapi/Description.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public String getFirstTestClass() {
}

public String getQualifiedName() {
if (this.testClass != null) {
if ((this.testClass != null) && !this.testClass.equals(this.getName())) {
return this.getFirstTestClass() + "." + this.getName();
} else {
return this.getName();
Expand Down

0 comments on commit 0bf7f99

Please sign in to comment.