Skip to content

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

fix(test): reformat test code for readability

Steven Enamakel427eb7fff252
diff --git a/crates/openhuman-tinyhumans/src/hosted/client_tests.rs b/crates/openhuman-tinyhumans/src/hosted/client_tests.rs
index c41256248b..d53ebb2776 100644
--- a/crates/openhuman-tinyhumans/src/hosted/client_tests.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/client_tests.rs
@@ -154,7 +154,9 @@ fn stored_session_cannot_bypass_missing_backend_transport() {
let tmp = TempDir::new().unwrap();
let config = test_config(&tmp, "http://127.0.0.1:9");
store_session(&config, "jwt.a.b");
- let err = HostedClient::from_config(&config).err().expect("transport required");
+ let err = HostedClient::from_config(&config)
+ .err()
+ .expect("transport required");
assert!(err.starts_with("BACKEND_UNAVAILABLE:"), "{err}");
}
@@ -173,10 +175,8 @@ async fn session_client_sends_bearer_and_product_identity() {
.mount(&server)
.await;
- let client = HostedClient::with_credential(
- &server.uri(),
- BackendCredential::Session("jwt.a.b".into()),
- );
+ let client =
+ HostedClient::with_credential(&server.uri(), BackendCredential::Session("jwt.a.b".into()));
assert_eq!(client.kind(), CredentialKind::Session);
let value = client
.finish_value(