contract: accept any 0.x draft status (OpenABTest is 0.2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-17 11:55:31 +00:00
parent 2b9e9a6b2c
commit 2c82ad6527

View file

@ -25,7 +25,7 @@ describe.each([
it("serves the specification through its family and docs index", () => {
expect(familyOfSpec(slug)?.slug).toBe(family);
expect(listDocs()).toContainEqual(expect.objectContaining({ slug, title: name }));
expect(readDoc(slug)).toMatch(/Status: \*{0,2}0\.1/);
expect(readDoc(slug)).toMatch(/Status: \*{0,2}0\.\d/);
});
it("includes a reachable docs URL and the full contract in the LLM feeds", async () => {