Preserve file-only content when archiving.

This commit is contained in:
2026-07-21 22:04:03 +02:00
parent 1c04087471
commit 89a07c885a
14 changed files with 219 additions and 52 deletions

View File

@@ -598,7 +598,12 @@ mod tests {
update.as_slice(),
[ServerMessage::Tasks { tasks, .. }] if tasks[0].progress == Some(0.5)
));
assert!(session.pending().is_empty());
assert!(
session
.pending()
.iter()
.all(|message| !matches!(message, ServerMessage::Tasks { .. }))
);
}
#[test]