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

Function test_lexer_complex_where_pattern

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

Source from the content-addressed store, hash-verified

5442
5443#[test]
5444fn test_lexer_complex_where_pattern() {
5445 let query = "MATCH (start:TestNode)-[:CONNECTS_TO]->(end:TestNode) WHERE start.id = 1 RETURN count(end) as connected_count";
5446 let result = crate::ast::lexer::tokenize(query);
5447 assert!(result.is_ok(), "Complex WHERE pattern should tokenize");
5448}
5449
5450#[test]
5451fn test_lexer_variable_length_pattern() {

Callers

nothing calls this directly

Calls 1

tokenizeFunction · 0.85

Tested by

no test coverage detected