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