()
| 1179 | |
| 1180 | #[test] |
| 1181 | fn test_record_item_clone() { |
| 1182 | let item = RecordItem::new( |
| 1183 | "test.txt", |
| 1184 | Inode::new(1), |
| 1185 | Inode::ROOT, |
| 1186 | crate::output::FileMetadata::file(), |
| 1187 | ); |
| 1188 | |
| 1189 | let cloned = item.clone(); |
| 1190 | |
| 1191 | assert_eq!(cloned.full_path, item.full_path); |
| 1192 | assert_eq!(cloned.inode, item.inode); |
| 1193 | } |
| 1194 | |
| 1195 | #[test] |
| 1196 | fn test_record_item_debug() { |