1
0

Format HashMap::insert call for better readability

This commit is contained in:
2026-07-12 11:26:04 +02:00
parent d6dc207f2c
commit 6bf77cebab

View File

@@ -4253,7 +4253,10 @@ mod tests {
fn llm_commit_messages_must_be_complete_and_non_generic() {
let hash = "aaaaaaa111111111111111111111111111111111".to_string();
let mut valid = HashMap::new();
valid.insert("aaaaaaa".to_string(), "Explain the actual change".to_string());
valid.insert(
"aaaaaaa".to_string(),
"Explain the actual change".to_string(),
);
assert_eq!(
validate_llm_commit_messages(valid, std::slice::from_ref(&hash))
.unwrap()