()
| 411 | |
| 412 | #[test] |
| 413 | fn create_rotating_writer_creates_expected_files() { |
| 414 | let temp = tempfile::tempdir().expect("tempdir"); |
| 415 | create_rotating_writer(temp.path(), "app").expect("app writer"); |
| 416 | create_rotating_writer(temp.path(), "ai").expect("ai writer"); |
| 417 | create_rotating_writer(temp.path(), "flashgrep").expect("flashgrep writer"); |
| 418 | |
| 419 | assert!(temp.path().join("app.log").exists()); |
| 420 | assert!(temp.path().join("ai.log").exists()); |
| 421 | assert!(temp.path().join("flashgrep.log").exists()); |
| 422 | } |
| 423 | |
| 424 | #[test] |
| 425 | fn target_filter_rules_match_desktop_defaults() { |
nothing calls this directly
no test coverage detected