From 75a2007db34bad5dab3925ff7b39c1a0b9fb7179 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Tue, 17 Oct 2023 10:00:11 +0200 Subject: [PATCH] fixed failing test --- .../java/io/usethesource/vallang/specification/IValueTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/usethesource/vallang/specification/IValueTests.java b/src/test/java/io/usethesource/vallang/specification/IValueTests.java index c3d23d86..86336a9a 100644 --- a/src/test/java/io/usethesource/vallang/specification/IValueTests.java +++ b/src/test/java/io/usethesource/vallang/specification/IValueTests.java @@ -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()); }