chore: fmt

This commit is contained in:
Coffee
2026-03-24 18:17:47 +08:00
parent 9946149a25
commit 6040e56984
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -862,6 +862,7 @@ mod tests {
}
#[cfg(feature = "libsql")]
#[allow(clippy::await_holding_lock)]
#[tokio::test]
async fn test_resolve_llm_for_cli_uses_db_backed_selected_model() {
struct MockSettingsStore {
+1
View File
@@ -6426,6 +6426,7 @@ mod tests {
);
}
#[allow(clippy::await_holding_lock)]
#[tokio::test]
async fn test_runtime_auth_detects_runtime_nearai_api_key_override() {
struct EnvGuard(&'static str, Option<String>);
+1
View File
@@ -74,6 +74,7 @@ mod tests {
}
}
#[allow(clippy::await_holding_lock)]
#[tokio::test]
async fn test_resolve_bearer_token_if_available_uses_runtime_env_override() {
let _guard = ENV_MUTEX.lock().expect("env mutex");
+3
View File
@@ -290,6 +290,8 @@ mod tests {
Arc::new(ExtensionManager::new(
Arc::new(McpSessionManager::new()),
Arc::new(McpProcessManager::new()),
None,
None,
secrets,
tools,
None,
@@ -299,6 +301,7 @@ mod tests {
None,
owner_id.to_string(),
None,
None,
Vec::new(),
))
}