Skip to content

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

test: reformat storage backend env check in approvals e2e test

Steven Enamakel909aa662a96d
diff --git a/tests/storage_approvals_e2e.rs b/tests/storage_approvals_e2e.rs
index 15fd769bb6..2a36f944b7 100644
--- a/tests/storage_approvals_e2e.rs
+++ b/tests/storage_approvals_e2e.rs
@@ -27,7 +27,11 @@ fn pending(id: &str) -> PendingApproval {
#[test]
fn a_configured_backend_holds_the_approvals_instead_of_approval_db() {
let case = Case::open();
- if std::env::var("OPENHUMAN_TEST_STORAGE_BACKEND").ok().as_deref() == Some("memory") {
+ if std::env::var("OPENHUMAN_TEST_STORAGE_BACKEND")
+ .ok()
+ .as_deref()
+ == Some("memory")
+ {
assert_eq!(case.url, "memory");
}
let workspace = tempfile::tempdir().unwrap();