style: apply cargo fmt to test assertions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
lucaronin
2026-03-03 21:21:47 +01:00
parent cfe5d99d7f
commit 5dbdf5077f

View File

@@ -746,7 +746,10 @@ mod tests {
}),
]);
// First event: ToolStart with no input (from content_block_start)
assert!(matches!(&events[0], ClaudeStreamEvent::ToolStart { input: None, .. }));
assert!(matches!(
&events[0],
ClaudeStreamEvent::ToolStart { input: None, .. }
));
// Second event: ToolStart with accumulated input (from assistant)
assert!(
matches!(&events[1], ClaudeStreamEvent::ToolStart { input: Some(inp), .. }