Skip to content

Commit

Permalink
fix "MATCH (n) RETURN COUNT(n)" with 0 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
lipanpan03 authored Apr 8, 2024
1 parent c510669 commit 50db181
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static void haClientTest() throws Exception {
log.info(getRestPortByKey("MASTER", client));


String res1 = client.callCypher("MATCH (n) RETURN count(n)", "default", 10);
String res1 = client.callCypher("MATCH (n) RETURN COUNT(n)", "default", 10);
JSONArray jsonArray = JSONArray.parseArray(res1);
assert (jsonArray.size() == 1);
JSONObject jsonObject = jsonArray.getJSONObject(0);
Expand Down

0 comments on commit 50db181

Please sign in to comment.