(entries: &[(&str, &str)])
| 417 | use atomic_repository::{record::RecordOptions, tracking::TrackingOptions}; |
| 418 | |
| 419 | fn map(entries: &[(&str, &str)]) -> BTreeMap<String, String> { |
| 420 | entries |
| 421 | .iter() |
| 422 | .map(|(path, inode)| (path.to_string(), inode.to_string())) |
| 423 | .collect() |
| 424 | } |
| 425 | #[test] |
| 426 | fn pair_canonical_identities_before_path_replacements_or_similarity() { |
| 427 | for (old, new, expected) in [ |