Skip to content

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

style(tests): format the inference auth suite as rustfmt does

M3gA-Mindfe90c5820690
diff --git a/tests/raw_coverage/inference_provider_auth_e2e.rs b/tests/raw_coverage/inference_provider_auth_e2e.rs
index 6532a8325e..7f79426fa7 100644
--- a/tests/raw_coverage/inference_provider_auth_e2e.rs
+++ b/tests/raw_coverage/inference_provider_auth_e2e.rs
@@ -31,7 +31,7 @@ use crate::env_guard::EnvVarGuard;
use crate::rpc_harness::payload;
use std::net::SocketAddr;
use std::path::Path;
-use std::sync::{OnceLock};
+use std::sync::OnceLock;
use std::time::Duration;
use axum::http::header::AUTHORIZATION;
@@ -60,7 +60,8 @@ fn env_lock() -> tokio::sync::MutexGuard<'static, ()> {
async fn env_lock_async() -> tokio::sync::MutexGuard<'static, ()> {
ENV_LOCK
.get_or_init(|| tokio::sync::Mutex::new(()))
- .lock().await
+ .lock()
+ .await
}
/// `core::auth::RPC_TOKEN`