()
| 633 | |
| 634 | #[tokio::test] |
| 635 | async fn test_watcher_no_changes() { |
| 636 | let dir = TempDir::new().unwrap(); |
| 637 | fs::write(dir.path().join("existing.rs"), "code").unwrap(); |
| 638 | |
| 639 | let mut watcher = FallbackWatcher::new(make_config(&dir)); |
| 640 | watcher.begin_turn("sess-1").await.unwrap(); |
| 641 | |
| 642 | // No modifications |
| 643 | let changes = watcher.end_turn().await.unwrap(); |
| 644 | assert!(changes.is_empty()); |
| 645 | } |
| 646 | |
| 647 | #[tokio::test] |
| 648 | async fn test_watcher_detects_added_file() { |
nothing calls this directly
no test coverage detected