MCPcopy Create free account
hub / github.com/douglance/devsql / detect_tables_finds_code_tables

Function detect_tables_finds_code_tables

crates/devsql/src/engine.rs:845–853  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

843
844 #[test]
845 fn detect_tables_finds_code_tables() {
846 let (_, _, code) = detect_tables(
847 "SELECT * FROM source_files JOIN symbols ON source_files.path = symbols.file_path",
848 );
849
850 assert!(code.contains(&"source_files".to_string()));
851 assert!(code.contains(&"symbols".to_string()));
852 assert!(!code.contains(&"source_lines".to_string()));
853 }
854
855 #[test]
856 fn normalize_ts_seconds_converts_millis() {

Callers

nothing calls this directly

Calls 1

detect_tablesFunction · 0.85

Tested by

no test coverage detected