The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(skills): match the refused connection without Result::err().expect (#7082)
oxoxDeve58fff8e4ab6
diff --git a/crates/openhuman-core/src/skills/catalog/transport_tests.rs b/crates/openhuman-core/src/skills/catalog/transport_tests.rsindex 8eeec6dd6a..34e9980b17 100644--- a/crates/openhuman-core/src/skills/catalog/transport_tests.rs+++ b/crates/openhuman-core/src/skills/catalog/transport_tests.rs@@ -137,7 +137,7 @@ async fn an_unreachable_pinned_address_is_a_connect_error() {let addr = listener.local_addr().unwrap();drop(listener);let transport = ReqwestTransport::new();- let error = transport+ let Err(error) = transport.exchange(HttpMethod::Get,format!("http://127.0.0.1:{}/SKILL.md", addr.port()),@@ -146,8 +146,9 @@ async fn an_unreachable_pinned_address_is_a_connect_error() {Duration::from_secs(5),).await- .err()- .expect("nothing listens there");+ else {+ panic!("nothing listens there");+ };assert!(matches!(error, TransportError::Connect(_)), "{error:?}");}