Batch 35: #1132's cancel test takes the four-part fake import #1412 left

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-14 01:41:33 -04:00
co-authored by Claude Opus 5.5
parent 48b9a5e21f
commit a5989d6c0d
+2 -2
View File
@@ -534,7 +534,7 @@ mod tests {
#[test]
fn lightroom_cancel_is_the_flag_not_the_words() {
let mut h = demo();
let (task, tx, cancel, _, _) = fake_import(&h);
let (task, tx, cancel, _) = fake_import(&h);
h.app.lightroom = Some(task);
cancel.store(true, Ordering::Relaxed);
tx.send(Message::Prepared(Err("Lightroom-Import abgebrochen".into()))).unwrap();
@@ -544,7 +544,7 @@ mod tests {
for message in
[Message::Prepared(Err("the drive was ejected: copy cancelled by the system".into())), Message::Inspected(Err("cancelled".into()))]
{
let (task, tx, _, _, _) = fake_import(&h);
let (task, tx, _, _) = fake_import(&h);
h.app.lightroom = Some(task);
tx.send(message).unwrap();
h.step();