Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

test(cypher): avoid duplicate upstream regression

King Star12b78866480b
diff --git a/tests/test_cypher.c b/tests/test_cypher.c
index aaaa5f3dc..ff611f687 100644
--- a/tests/test_cypher.c
+++ b/tests/test_cypher.c
@@ -1807,22 +1807,6 @@ TEST(cypher_exec_var_length_explicit_bound_capped) {
PASS();
}
-TEST(cypher_exec_variable_length_repeated_node_var_unifies) {
- cbm_store_t *s = setup_cypher_store();
- cbm_cypher_result_t r = {0};
-
- int rc = cbm_cypher_execute(s,
- "MATCH (f:Function)-[:CALLS*1..2]->(f:Function) "
- "RETURN f.name",
- "test", 0, &r);
- ASSERT_EQ(rc, 0);
- ASSERT_EQ(r.row_count, 0);
-
- cbm_cypher_result_free(&r);
- cbm_store_close(s);
- PASS();
-}
-
TEST(cypher_exec_var_length_no_reuse_self_loop) {
cbm_store_t *s = cbm_store_open_memory();
cbm_store_upsert_project(s, "test", "/tmp/test");
@@ -4128,7 +4112,6 @@ SUITE(cypher) {
RUN_TEST(cypher_exec_variable_length);
RUN_TEST(cypher_exec_variable_length_repeated_node_var_unifies);
RUN_TEST(cypher_exec_var_length_explicit_bound_capped);
- RUN_TEST(cypher_exec_variable_length_repeated_node_var_unifies);
RUN_TEST(cypher_exec_var_length_no_reuse_self_loop);
RUN_TEST(cypher_exec_var_length_truncation_surfaces_warning);
RUN_TEST(cypher_exec_defines_edge);