()
| 401 | |
| 402 | #[test] |
| 403 | fn build_log_paths_uses_split_log_files() { |
| 404 | let temp = tempfile::tempdir().expect("tempdir"); |
| 405 | let paths = build_log_paths(temp.path()); |
| 406 | |
| 407 | assert_eq!(paths.app_log_path, temp.path().join("app.log")); |
| 408 | assert_eq!(paths.ai_log_path, temp.path().join("ai.log")); |
| 409 | assert_eq!(paths.flashgrep_log_path, temp.path().join("flashgrep.log")); |
| 410 | } |
| 411 | |
| 412 | #[test] |
| 413 | fn create_rotating_writer_creates_expected_files() { |
nothing calls this directly
no test coverage detected