fix(cli): refuse a --split-date or --axis that names nothing it built (improvise-tpm8)

This commit is contained in:
Claude (8jk63-fix)
2026-10-02 21:33:01 -07:00
committed by Edward Langley
parent 053699b652
commit 0c56a4b9a1
3 changed files with 46 additions and 1 deletions
+4 -1
View File
@@ -697,7 +697,10 @@ fn an_axis_naming_a_category_the_import_did_not_build_is_refused() {
);
assert!(!out.status.success(), "{}", stderr_of(&out));
let err = stderr_of(&out);
assert!(err.contains("Date_Month") && err.contains("--split-date"), "{err}");
assert!(
err.contains("Date_Month") && err.contains("--split-date"),
"{err}"
);
}
/// code-maat's reports: three schemas, a stray note, and room for the output.