MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / plain_text_is_single_segment

Function plain_text_is_single_segment

nodedb-sql/src/parser/preprocess/lex.rs:308–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306
307 #[test]
308 fn plain_text_is_single_segment() {
309 let segs = segments("SELECT 1");
310 assert_eq!(segs, vec![SqlSegment::Text("SELECT 1")]);
311 }
312
313 #[test]
314 fn single_quoted_string_opaque() {

Callers

nothing calls this directly

Calls 1

segmentsFunction · 0.85

Tested by

no test coverage detected