Skip to content

Commit c704713

Browse files
committed
Fix assertion
1 parent 7d6edad commit c704713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-tests/src/test/java/org/junit/platform/engine/support/descriptor/MethodSourceTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void twoEqualMethodsWithEqualParametersShouldHaveEqualMethodSourceHashCodes() {
151151
@Test
152152
void twoEqualMethodsWithUnequalParametersShouldHaveUnequalMethodSourceHashCodes() {
153153
assertNotEquals(MethodSource.from("TestClass1", "testMethod1", "int, String").hashCode(),
154-
MethodSource.from("TestClass1", "testMethod1", "float, int, String"));
154+
MethodSource.from("TestClass1", "testMethod1", "float, int, String").hashCode());
155155
}
156156

157157
@Test

0 commit comments

Comments
 (0)