Merge pull request #395 from kevin9327/chore/restore-make-check-green

chore: restore a green `make check` on main
This commit is contained in:
leokun
2026-09-03 00:32:31 +08:00
committed by GitHub
4 changed files with 26 additions and 16 deletions
+4 -1
View File
@@ -125,7 +125,10 @@ async fn offline_crud_round_trip_persists_markdown() {
.unwrap();
let added: AddResponse = decode(response).await;
assert!(added.success);
assert!(added.id.starts_with("local-"), "offline add uses a local id");
assert!(
added.id.starts_with("local-"),
"offline add uses a local id"
);
let markdown = rules_root.join(format!("{}.md", added.id));
assert_eq!(
std::fs::read_to_string(&markdown).unwrap(),