Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(storage): reformat capability check in desktop upgrade e2e test

Steven Enamakel301f4ea3c408
diff --git a/tests/storage_desktop_upgrade_e2e.rs b/tests/storage_desktop_upgrade_e2e.rs
index de82318da0..45e883f821 100644
--- a/tests/storage_desktop_upgrade_e2e.rs
+++ b/tests/storage_desktop_upgrade_e2e.rs
@@ -430,7 +430,11 @@ async fn a_desktop_upgrade_is_lossless_and_leaves_the_legacy_files_untouched(cas
// TinyAgents' run ledger imports `sessions.db` (and appends to it) with
// checked batches, which a driver without `ValidatedBatch` refuses.
let local = case.backend().for_scope(&Scope::local()).unwrap();
- if !local.documents().capabilities().contains(Capability::ValidatedBatch) {
+ if !local
+ .documents()
+ .capabilities()
+ .contains(Capability::ValidatedBatch)
+ {
// Written to the stderr handle, not with `eprintln!`, which the test
// harness captures for a passing test: the skip must show in the log.
use std::io::Write;