style: cargo fmt the assertion 2b086b2 added
CI / Build all bundles (push) Has been cancelled
CI / Test and lint (host) (push) Has been cancelled
CI / wasm32 check (browser bundle crates) (push) Has been cancelled
CI / Browser JS unit tests (node --test) (push) Has been cancelled
CI / Knowledge base consistency (push) Has been cancelled
CI / Lint the harness crate (push) Has been cancelled
CI / Browser harness (OPFS contract + shell) (push) Has been cancelled
CI / Deploy to GitHub Pages (push) Has been cancelled

2b086b2 landed an assert_eq! that rustfmt wraps, and `cargo fmt --all --check`
is the first step of the host CI job -- so every step after it was SKIPPED,
including the test run. PR #101 inherited the red through its merge commit
while its own file is formatted correctly.

Run the formatter before committing, not after CI says so.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FC2jVn8Au7E9JPkw6bwXXH
This commit is contained in:
Edward Langley
2026-09-21 14:02:05 -07:00
parent 56ee496d30
commit e4adf86c1a
+5 -1
View File
@@ -1098,7 +1098,11 @@ mod parser_edge_cases {
let m = parse_md(text).unwrap();
let cat = m.model.category("Type").unwrap();
let item_names: Vec<&str> = cat.items.values().map(|i| i.name.as_str()).collect();
assert_eq!(item_names, ["A", "B"], "the merge dropped a section's items");
assert_eq!(
item_names,
["A", "B"],
"the merge dropped a section's items"
);
}
#[test]