Skip to content

Commit 1061c2b

Browse files
committed
test(docs): format knowledge contract regression
1 parent 15def2d commit 1061c2b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎tests/scripts/knowledge-contract.test.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ test("rejects a new frontmatter-less record outside the legacy allowlist", () =>
111111
const root = fixture();
112112
writeFileSync(join(root, "docs", "research", "new-record.md"), "# New\n");
113113
const result = checkKnowledgeContract(root);
114-
assert(result.problems.includes("docs/research/new-record.md: missing frontmatter"));
114+
assert(
115+
result.problems.includes(
116+
"docs/research/new-record.md: missing frontmatter",
117+
),
118+
);
115119
});
116120

117121
test("reports missing benchmark evidence fields without validating claims", () => {

0 commit comments

Comments
 (0)