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(cloud_transcribe): reformat assertion chains for readability
Steven Enamakel4d6743ae9a10
diff --git a/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs b/crates/openhuman-core/src/voice/cloud_transcribe_tests.rsindex 4e4f795e64..121ab6e89f 100644--- a/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs+++ b/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs@@ -107,8 +107,17 @@ async fn api_key_transcribes_via_safe_backend_with_bearer_and_multipart_audio()let requests = server.received_requests().await.unwrap();assert_eq!(requests.len(), 1);let request = &requests[0];- assert_eq!(request.headers.get("authorization").unwrap(), "Bearer test-api-key");- assert!(request.headers.get("content-type").unwrap().to_str().unwrap().starts_with("multipart/form-data; boundary="));+ assert_eq!(+ request.headers.get("authorization").unwrap(),+ "Bearer test-api-key"+ );+ assert!(request+ .headers+ .get("content-type")+ .unwrap()+ .to_str()+ .unwrap()+ .starts_with("multipart/form-data; boundary="));assert!(request.body.windows(3).any(|bytes| bytes == [1, 2, 3]));let body = String::from_utf8_lossy(&request.body);assert!(body.contains("name=\"file\""));