()
| 1206 | |
| 1207 | #[test] |
| 1208 | fn test_file_status_entry_new() { |
| 1209 | let entry = FileStatusEntry::new(PathBuf::from("src/main.rs"), FileStatus::Modified); |
| 1210 | |
| 1211 | assert_eq!(entry.path(), Path::new("src/main.rs")); |
| 1212 | assert_eq!(entry.status(), FileStatus::Modified); |
| 1213 | assert!(entry.inode().is_none()); |
| 1214 | assert!(entry.recorded_hash().is_none()); |
| 1215 | assert!(entry.current_hash().is_none()); |
| 1216 | assert!(entry.details().is_none()); |
| 1217 | } |
| 1218 | |
| 1219 | #[test] |
| 1220 | fn test_file_status_entry_with_details() { |
nothing calls this directly
no outgoing calls
no test coverage detected