Skip to content

Commit

Permalink
better test for constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Oct 17, 2023
1 parent 75a2007 commit f573fbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void testFingerprintStabilityConstructorDoNotChangeTheTest(IConstructor c

@ParameterizedTest @ArgumentsSource(ValueProvider.class)
public void testFingerprintEqualArityConstructorsTheSameDoNotChangeTheTest(IConstructor node1, IConstructor node2) {
if (node1.arity() == node2.arity()) {
if (node1.arity() == node2.arity() && node1.getName().equals(node2.getName())) {
assertEquals(node1.getMatchFingerprint(), node2.getMatchFingerprint());
}
}
Expand Down

0 comments on commit f573fbd

Please sign in to comment.