Skip to content

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

test(web_chat): simplify checkout failure assertion

Steven Enamakelfc523ba8f71c
diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
index 67c82765c8..ec76f00be4 100644
--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
@@ -376,7 +376,7 @@ async fn a_thread_binds_one_stable_session_across_cold_boots() {
CheckoutPolicy::Exact,
)
.await
- .unwrap_or_else(|error| panic!("first checkout failed: {error}"));
+ .unwrap();
// Nothing is checked back in, so the next checkout is a genuine cold boot.
let second = checkout_session_agent(
&DispatchCtx::ambient(),