From b939becb06815f721b38de4ef1489e7cef2fb9f7 Mon Sep 17 00:00:00 2001 From: srt8hellcat2-ui Date: Mon, 12 Oct 2026 01:30:08 -0400 Subject: [PATCH] M0: validate the committed parity manifest in xtask tests (#1214) Parse the committed parity manifest in the existing xtask unit-test suite so duplicate TOML keys fail cargo test --workspace. Co-authored-by: srt8hellcat2-ui <225485253+srt8hellcat2-ui@users.noreply.github.com> --- xtask/src/parity.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xtask/src/parity.rs b/xtask/src/parity.rs index 0e906d28..54667761 100644 --- a/xtask/src/parity.rs +++ b/xtask/src/parity.rs @@ -251,6 +251,13 @@ mod tests { } } + #[test] + fn committed_manifest_is_well_formed() { + let path = root().join("parity/acrobat-features.toml"); + let text = std::fs::read_to_string(&path).expect("read the committed parity manifest"); + let _: File = toml::from_str(&text).expect("the committed parity manifest must be valid TOML"); + } + #[test] fn registry_ids_are_extracted_from_source() { let src =