()
| 5551 | |
| 5552 | #[test] |
| 5553 | fn test_parser_with_then_match() { |
| 5554 | let query = "MATCH (a:Account)-[t:Transaction]->(m:Merchant) |
| 5555 | WITH a, m, count(t) as transaction_count |
| 5556 | MATCH (m)<-[:Transaction]-(other:Account) |
| 5557 | RETURN a.account_number, other.account_number"; |
| 5558 | let result = parse_query(query); |
| 5559 | assert!( |
| 5560 | result.is_ok(), |
| 5561 | "WITH then MATCH should parse. Error: {:?}", |
| 5562 | result.err() |
| 5563 | ); |
| 5564 | } |
nothing calls this directly
no test coverage detected