()
| 1146 | |
| 1147 | #[test] |
| 1148 | fn test_record_item_directory() { |
| 1149 | let item = RecordItem::new( |
| 1150 | "src/", |
| 1151 | Inode::new(5), |
| 1152 | Inode::ROOT, |
| 1153 | crate::output::FileMetadata::directory(), |
| 1154 | ); |
| 1155 | |
| 1156 | assert!(item.is_directory); |
| 1157 | assert_eq!(item.basename, "src"); |
| 1158 | } |
| 1159 | |
| 1160 | #[test] |
| 1161 | fn test_record_item_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected