()
| 583 | |
| 584 | #[tokio::test] |
| 585 | async fn test_watcher_inactive_after_end() { |
| 586 | let dir = TempDir::new().unwrap(); |
| 587 | fs::write(dir.path().join("file.rs"), "code").unwrap(); |
| 588 | |
| 589 | let mut watcher = FallbackWatcher::new(make_config(&dir)); |
| 590 | watcher.begin_turn("sess-1").await.unwrap(); |
| 591 | let _changes = watcher.end_turn().await.unwrap(); |
| 592 | assert!(!watcher.is_active()); |
| 593 | } |
| 594 | |
| 595 | #[tokio::test] |
| 596 | async fn test_watcher_inactive_after_cancel() { |
nothing calls this directly
no test coverage detected