style(rust): rewrap beta map test line with cargo fmt

This commit is contained in:
mateo-berri 2026-10-28 04:49:50 -07:00
parent 25d7d5b0ff
commit 3d7a8d0ba1

View file

@ -520,8 +520,8 @@ mod tests {
.and_then(serde_json::Value::as_str)
.map(str::to_string)
};
let expected = cell(&format!("{provider}_header_only"))
.or_else(|| cell(provider.as_ref()));
let expected =
cell(&format!("{provider}_header_only")).or_else(|| cell(provider.as_ref()));
let actual = beta.on(*provider).map(|name| name.to_string());
assert_eq!(actual, expected, "provider {provider}, beta {beta}");
if matches!(beta, AnthropicBeta::AdvancedToolUse20251120)