()
| 362 | |
| 363 | #[test] |
| 364 | fn test_diff_no_changes() { |
| 365 | let mut snapshot = HashMap::new(); |
| 366 | snapshot.insert( |
| 367 | PathBuf::from("a.rs"), |
| 368 | FileEntry { |
| 369 | mtime: SystemTime::UNIX_EPOCH, |
| 370 | size: 100, |
| 371 | }, |
| 372 | ); |
| 373 | |
| 374 | let changes = diff_snapshots(&snapshot, &snapshot); |
| 375 | assert!(changes.is_empty()); |
| 376 | } |
| 377 | |
| 378 | #[test] |
| 379 | fn test_diff_added_file() { |
nothing calls this directly
no test coverage detected