Skip to content

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

test(threads): reformat turn state snapshot assertion

Steven Enamakel2384995af537
diff --git a/crates/openhuman-core/src/threads/ops_conversion_tests.rs b/crates/openhuman-core/src/threads/ops_conversion_tests.rs
index 1df57b016a..e01b5a328c 100644
--- a/crates/openhuman-core/src/threads/ops_conversion_tests.rs
+++ b/crates/openhuman-core/src/threads/ops_conversion_tests.rs
@@ -344,9 +344,11 @@ async fn thread_delete_removes_persisted_turn_state_snapshot() {
let snapshot = TurnState::started(thread_id, "req-1", 4, "2026-01-01T00:00:00Z");
tinyagents_session::turn_state::store::put(dir.clone(), &snapshot).expect("put snapshot");
- assert!(tinyagents_session::turn_state::store::get(dir.clone(), thread_id)
- .unwrap()
- .is_some());
+ assert!(
+ tinyagents_session::turn_state::store::get(dir.clone(), thread_id)
+ .unwrap()
+ .is_some()
+ );
// Queue a finished background sub-agent result for this thread; deleting the
// thread must discard it so it's never delivered into a dead thread.