()
| 575 | |
| 576 | #[test] |
| 577 | fn test_file_change_status_hash() { |
| 578 | use std::collections::HashSet; |
| 579 | let mut set = HashSet::new(); |
| 580 | set.insert(FileChangeStatus::Added); |
| 581 | set.insert(FileChangeStatus::Modified); |
| 582 | assert!(set.contains(&FileChangeStatus::Added)); |
| 583 | assert!(!set.contains(&FileChangeStatus::Deleted)); |
| 584 | } |
| 585 | |
| 586 | // Diff Command Tests |
| 587 |