Skip to content

Commit 8d35c8c

Browse files
fix
1 parent b3b52eb commit 8d35c8c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

proc/community/src/test/java/org/neo4j/gds/kcore/KCoreDecompositionWriteProcTest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ void shouldWrite(){
8484

8585

8686
String query="CALL gds.kcore.write('graph', { writeProperty: 'coreValue'})";
87-
var expectedResultMap = Map.of
88-
(idFunction.of("z"), 0L,
89-
idFunction.of("a"), 1L,
90-
idFunction.of("b"), 1L,
91-
idFunction.of("c"), 2L,
92-
idFunction.of("d"), 2L,
93-
idFunction.of("e"), 2L,
94-
idFunction.of("f"), 2L,
95-
idFunction.of("g"), 2L,
96-
idFunction.of("h"), 2L
97-
);
87+
var expectedResultMap = Map.of(
88+
idFunction.of("z"), 0L,
89+
idFunction.of("a"), 1L,
90+
idFunction.of("b"), 1L,
91+
idFunction.of("c"), 2L,
92+
idFunction.of("d"), 2L,
93+
idFunction.of("e"), 2L,
94+
idFunction.of("f"), 2L,
95+
idFunction.of("g"), 2L,
96+
idFunction.of("h"), 2L
97+
);
9898
var rowCount = runQueryWithRowConsumer(query, row -> {
9999

100100
assertThat(row.getNumber("preProcessingMillis"))

0 commit comments

Comments
 (0)