Skip to content

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

test(storage): reformat long assertions to satisfy line width

Steven Enamakel940728869d2d
diff --git a/crates/openhuman-core/src/storage/config_tests.rs b/crates/openhuman-core/src/storage/config_tests.rs
index e166e368b6..408267e648 100644
--- a/crates/openhuman-core/src/storage/config_tests.rs
+++ b/crates/openhuman-core/src/storage/config_tests.rs
@@ -97,7 +97,10 @@ fn the_default_url_per_layout_version() {
default_url_for(&v1),
"sqlite:/srv/oh/users/alice/workspace/storage"
);
- assert_eq!(default_url_for(&v2), "sqlite:/srv/oh/users/alice/storage.db");
+ assert_eq!(
+ default_url_for(&v2),
+ "sqlite:/srv/oh/users/alice/storage.db"
+ );
}
#[test]
diff --git a/crates/openhuman-core/src/storage/rebind_tests.rs b/crates/openhuman-core/src/storage/rebind_tests.rs
index dacccb6d33..a0c267ee96 100644
--- a/crates/openhuman-core/src/storage/rebind_tests.rs
+++ b/crates/openhuman-core/src/storage/rebind_tests.rs
@@ -219,5 +219,8 @@ fn rebinding_to_a_fresh_v2_profile_opens_its_storage_db_and_leaves_a_v1_one_alon
!layout.workspace_dir.join("storage").exists(),
"no v1 storage directory under files/"
);
- assert!(!v1.path().join("storage").exists(), "the old profile is untouched");
+ assert!(
+ !v1.path().join("storage").exists(),
+ "the old profile is untouched"
+ );
}