style: rustfmt repair_vault tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -799,11 +799,7 @@ mod tests {
|
||||
let vault = dir.path();
|
||||
let note_dir = vault.join("note");
|
||||
std::fs::create_dir_all(¬e_dir).unwrap();
|
||||
std::fs::write(
|
||||
note_dir.join("hello.md"),
|
||||
"---\nis_a: Note\n---\n# Hello\n",
|
||||
)
|
||||
.unwrap();
|
||||
std::fs::write(note_dir.join("hello.md"), "---\nis_a: Note\n---\n# Hello\n").unwrap();
|
||||
|
||||
let result = repair_vault(vault.to_str().unwrap().to_string());
|
||||
assert!(result.is_ok());
|
||||
|
||||
Reference in New Issue
Block a user