| 229 | } |
| 230 | |
| 231 | void test_optionalMatch() { |
| 232 | const char **queries = array_new(const char *, 3); |
| 233 | array_append(queries, "OPTIONAL MATCH (n) RETURN n"); |
| 234 | array_append(queries, "MATCH (a) OPTIONAL MATCH (b) RETURN a, b"); |
| 235 | array_append(queries, "MATCH (a) OPTIONAL MATCH (a)-[e]->(b) RETURN a, e, b"); |
| 236 | |
| 237 | validate_query_plans_clone(queries); |
| 238 | array_free(queries); |
| 239 | } |
| 240 | |
| 241 | void test_procCall() { |
| 242 | const char **queries = array_new(const char *, 1); |
nothing calls this directly
no test coverage detected