fix(stage0): harden native smoke provenance audit
This commit is contained in:
@@ -575,6 +575,26 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn rejects_deprecated_self_assertion_flags() {
|
||||
for flag in [
|
||||
"--status",
|
||||
"--platform",
|
||||
"--validation-error-count",
|
||||
"--resize-count",
|
||||
"--swapchain-recreate-count",
|
||||
] {
|
||||
let parsed = SmokeOptions::parse(&[
|
||||
"--out".to_string(),
|
||||
"target/report.json".to_string(),
|
||||
flag.to_string(),
|
||||
"value".to_string(),
|
||||
]);
|
||||
|
||||
assert_eq!(parsed, Err(format!("unknown native smoke option: {flag}")));
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn renders_string_array_json() {
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user