()
| 1160 | |
| 1161 | #[test] |
| 1162 | fn test_record_item_clone() { |
| 1163 | let item = RecordItem::new( |
| 1164 | "test.txt", |
| 1165 | Inode::new(1), |
| 1166 | Inode::ROOT, |
| 1167 | crate::output::FileMetadata::file(), |
| 1168 | ); |
| 1169 | |
| 1170 | let cloned = item.clone(); |
| 1171 | |
| 1172 | assert_eq!(cloned.full_path, item.full_path); |
| 1173 | assert_eq!(cloned.inode, item.inode); |
| 1174 | } |
| 1175 | |
| 1176 | #[test] |
| 1177 | fn test_record_item_debug() { |