style: rustfmt formatting for rename.rs assertions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Test
2026-03-18 15:44:34 +01:00
parent 8cfe7de66a
commit e8ace69bb0

View File

@@ -670,9 +670,18 @@ mod tests {
.unwrap();
let content = fs::read_to_string(&result.new_path).unwrap();
assert!(content.contains("title: Brand New Title"), "frontmatter title should be updated");
assert!(content.contains("# Old Title"), "H1 must NOT be modified by rename");
assert!(!content.contains("# Brand New Title"), "H1 must NOT match new title");
assert!(
content.contains("title: Brand New Title"),
"frontmatter title should be updated"
);
assert!(
content.contains("# Old Title"),
"H1 must NOT be modified by rename"
);
assert!(
!content.contains("# Brand New Title"),
"H1 must NOT match new title"
);
}
#[test]