Skip to content

Commit

Permalink
Merge pull request #58 from gradle/jonnybbb/fix_potential_npe
Browse files Browse the repository at this point in the history
Test name can be null
  • Loading branch information
jonnybbb authored Aug 4, 2020
2 parents 312965e + c3caa02 commit ddd5db1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean equals(Object o) {
return false;
}
TestName that = (TestName) o;
return Objects.equals(className, that.className) && name.equals(that.name);
return Objects.equals(className, that.className) && Objects.equals(name, that.name);
}

@Override
Expand Down

0 comments on commit ddd5db1

Please sign in to comment.