style: format trash.rs with cargo fmt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Test
2026-03-12 00:27:06 +01:00
parent 1b7b7f3fde
commit 93dc454a8a

View File

@@ -439,11 +439,7 @@ mod tests {
"---\nTrashed: true\nTrashed at: \"2025-01-01\"\n---\n# Old\n",
);
// Not trashed — should be kept
create_test_file(
dir.path(),
"normal.md",
"---\ntype: Note\n---\n# Normal\n",
);
create_test_file(dir.path(), "normal.md", "---\ntype: Note\n---\n# Normal\n");
let deleted = empty_trash(dir.path().to_str().unwrap()).unwrap();
assert_eq!(deleted.len(), 2);