Skip to content

Commit 577a17e

Browse files
committed
test: combine
1 parent cec0852 commit 577a17e

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

tests/deduplicate_hardlinks.rs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -242,24 +242,7 @@ fn complex_tree_with_shared_and_unique_files_with_deduplication() {
242242
assert_eq!(actual, None);
243243
}
244244

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
245+
// All entries are sorted by their inodes and have unique inodes
263246
{
264247
let actual: Vec<_> = tree
265248
.shared

0 commit comments

Comments
 (0)