Skip to content

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

style(approval): reformat assertion in store persistence test

Steven Enamakel4ce40c9e119b
diff --git a/crates/openhuman-core/src/security/approval/store_persistence_tests.rs b/crates/openhuman-core/src/security/approval/store_persistence_tests.rs
index 0ba20a283d..cdd765ffa3 100644
--- a/crates/openhuman-core/src/security/approval/store_persistence_tests.rs
+++ b/crates/openhuman-core/src/security/approval/store_persistence_tests.rs
@@ -386,9 +386,10 @@ fn list_recent_decisions_returns_durable_audit_rows() {
assert!(rows.iter().any(|row| {
row.request_id == "approved" && row.decision == ApprovalDecision::ApproveOnce
}));
- assert!(rows
- .iter()
- .any(|row| row.request_id == "denied" && row.decision == ApprovalDecision::Deny));
+ assert!(
+ rows.iter()
+ .any(|row| row.request_id == "denied" && row.decision == ApprovalDecision::Deny)
+ );
assert!(
rows.iter().all(|row| !row.tool_name.is_empty()),
"audit rows should retain tool metadata"