From da7c21f46908de86af9f642b5d6b8c021f0e8d88 Mon Sep 17 00:00:00 2001 From: Chummy Date: Wed, 18 Feb 2026 14:24:10 +0800 Subject: [PATCH] style(anthropic): format cache conversation test block --- src/providers/anthropic.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/providers/anthropic.rs b/src/providers/anthropic.rs index 7db8f2e..022f61e 100644 --- a/src/providers/anthropic.rs +++ b/src/providers/anthropic.rs @@ -881,12 +881,10 @@ mod tests { #[test] fn should_cache_conversation_long() { - let mut messages = vec![ - ChatMessage { - role: "system".to_string(), - content: "System prompt".to_string(), - }, - ]; + let mut messages = vec![ChatMessage { + role: "system".to_string(), + content: "System prompt".to_string(), + }]; // Add 5 non-system messages for i in 0..5 { messages.push(ChatMessage {