huskies: merge 864
This commit is contained in:
@@ -290,11 +290,17 @@ mod tests {
|
||||
"9902_bug_crash",
|
||||
"1_backlog",
|
||||
"---\nname: \"App Crash\"\n---\n# Bug 9902: App Crash\n",
|
||||
crate::db::ItemMeta::from_yaml(
|
||||
"---\nname: \"App Crash\"\n---\n# Bug 9902: App Crash\n",
|
||||
),
|
||||
);
|
||||
crate::db::write_item_with_content(
|
||||
"9903_bug_typo",
|
||||
"1_backlog",
|
||||
"---\nname: \"Typo in Header\"\n---\n# Bug 9903: Typo in Header\n",
|
||||
crate::db::ItemMeta::from_yaml(
|
||||
"---\nname: \"Typo in Header\"\n---\n# Bug 9903: Typo in Header\n",
|
||||
),
|
||||
);
|
||||
|
||||
let ctx = test_ctx(tmp.path());
|
||||
@@ -438,7 +444,12 @@ mod tests {
|
||||
let content = "# Bug 9901: Crash\n";
|
||||
std::fs::write(&bug_file, content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_item_with_content("9901_bug_crash", "1_backlog", content);
|
||||
crate::db::write_item_with_content(
|
||||
"9901_bug_crash",
|
||||
"1_backlog",
|
||||
content,
|
||||
crate::db::ItemMeta::from_yaml(content),
|
||||
);
|
||||
// Stage the file so it's tracked
|
||||
std::process::Command::new("git")
|
||||
.args(["add", "."])
|
||||
|
||||
Reference in New Issue
Block a user