Skip to content

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

chore(voice): reformat test assertions for readability

Steven Enamakel573ac2f5f039
diff --git a/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs b/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs
index 143309e197..ab7bb9a85f 100644
--- a/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs
+++ b/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs
@@ -116,18 +116,17 @@ async fn api_key_transcribes_via_safe_backend_with_bearer_and_multipart_audio()
};
crate::security::credentials::api_key::store_api_key(&config, "test-api-key").unwrap();
- let outcome = transcribe_cloud(
- &config,
- "AQID",
- &CloudTranscribeOptions::default(),
- )
- .await
- .unwrap()
- .value;
+ let outcome = transcribe_cloud(&config, "AQID", &CloudTranscribeOptions::default())
+ .await
+ .unwrap()
+ .value;
assert_eq!(outcome.text, "recognized words");
let (authorization, content_type, body) = request.lock().unwrap().take().unwrap();
assert_eq!(authorization.as_deref(), Some("Bearer test-api-key"));
- assert!(content_type.as_deref().unwrap().starts_with("multipart/form-data; boundary="));
+ assert!(content_type
+ .as_deref()
+ .unwrap()
+ .starts_with("multipart/form-data; boundary="));
let body = String::from_utf8(body).unwrap();
assert!(body.contains("name=\"file\""));
assert!(body.contains("AQID"));