MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / test_call_with_match_rejected

Function test_call_with_match_rejected

graphlite/src/ast/parser.rs:5338–5349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5336
5337#[test]
5338fn test_call_with_match_rejected() {
5339 // Bug #3: CALL+MATCH should also be rejected
5340 let query = r#"CALL system.list_functions()
5341YIELD name
5342MATCH (n);"#;
5343
5344 let result = parse_query(query);
5345 assert!(
5346 result.is_err(),
5347 "Parser should reject CALL with MATCH clause"
5348 );
5349}
5350
5351#[test]
5352fn test_call_complex_where_expression() {

Callers

nothing calls this directly

Calls 1

parse_queryFunction · 0.85

Tested by

no test coverage detected