()
| 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() { |
nothing calls this directly
no test coverage detected