Skip to content

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Oct 17, 2023
1 parent fe673d2 commit 75a2007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void testFingerprintStabilityNodeDoNotChangeTheTest(ISourceLocation node)
@ParameterizedTest @ArgumentsSource(ValueProvider.class)
public void testFingerprintStabilityNodeDoNotChangeTheTest(INode node) {
assertEquals(node.getName().hashCode() == 0
? ("node".hashCode() << 2) + node.arity()
? ("node".hashCode() << 2) + 131 * node.arity()
: node.getName().hashCode() + 131 * node.arity(), node.getMatchFingerprint());
}

Expand Down

0 comments on commit 75a2007

Please sign in to comment.