Panics · P27 Files: gone owner picks replace local ones and mark none, stale path folders go unmarked, duplicate marks never take a last copy

This commit is contained in:
ZacharyZhang-NY committed 2026-10-07 03:17:17 -04:00
1 parent 922cd53a8c
commit c9b4a04a4f
11 files changed
+192 -86

No files matched your search

-11
View File
@@ -255,17 +255,6 @@ fn the_last_copy_stays_and_remove_takes_the_marked(cx: &mut TestAppContext) {
);
}
#[test]
#[should_panic(expected = "every copy of a.jpg is marked")]
fn a_group_keeps_a_copy() {
let group = Duplicates {
name: "a.jpg".into(),
size: 1,
paths: vec!["x".into(), "y".into()],
};
let _ = DuplicateFinder::new("dupes", [group]).marked(["x", "y"]);
}
/// An archive of four files in two folders, and the files it handed over.
struct Unpacking {
opened: Vec<SharedString>,