We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec0852 commit 577a17eCopy full SHA for 577a17e
1 file changed
tests/deduplicate_hardlinks.rs
@@ -242,24 +242,7 @@ fn complex_tree_with_shared_and_unique_files_with_deduplication() {
242
assert_eq!(actual, None);
243
}
244
245
- // The entries are sorted by their inodes
246
- {
247
- let inodes: Vec<_> = tree
248
- .shared
249
- .details
250
- .as_ref()
251
- .expect("get details")
252
- .iter()
253
- .map(|item| item.ino)
254
- .map(u64::from)
255
- .collect();
256
- assert!(
257
- inodes.is_sorted(),
258
- "Expecting the entries to be sorted by inodes, but they weren't: {inodes:?}",
259
- );
260
- }
261
-
262
- // All entries have unique inodes
+ // All entries are sorted by their inodes and have unique inodes
263
{
264
let actual: Vec<_> = tree
265
.shared
0 commit comments