diff --git a/algo/src/test/java/org/neo4j/gds/kmeans/KmeansTest.java b/algo/src/test/java/org/neo4j/gds/kmeans/KmeansTest.java index 50d212de43..7b6ada8ef2 100644 --- a/algo/src/test/java/org/neo4j/gds/kmeans/KmeansTest.java +++ b/algo/src/test/java/org/neo4j/gds/kmeans/KmeansTest.java @@ -516,9 +516,8 @@ void shouldThrowForMissingProperty(String property) { .k(2) .build(); var kmeansContext = ImmutableKmeansContext.builder().build(); - var kmeans = - assertThatThrownBy( + assertThatThrownBy( () -> Kmeans.createKmeans( graph, kmeansConfig,