fix: 收口批次D并修复本地垃圾箱清空
This commit is contained in:
@@ -979,7 +979,8 @@ mod tests {
|
||||
.iter()
|
||||
.find(|document| document.path == "docs/child.md")
|
||||
.expect("child document");
|
||||
assert_eq!(child.title, "child");
|
||||
// frontmatter title "Child Updated" 优先于文件名 "child"。
|
||||
assert_eq!(child.title, "Child Updated");
|
||||
assert!(child.raw_text.contains("ChangedToken"));
|
||||
|
||||
fs::remove_file(root.join("docs").join("child.md")).expect("remove child");
|
||||
|
||||
Reference in New Issue
Block a user