Format strict array witness

This commit is contained in:
Meta Vens 2026-08-24 22:55:16 +02:00
commit 9f8cf2e30f

View file

@ -3421,9 +3421,11 @@ mod tests {
let schema = exact_string_array_schema(&BTreeSet::new(), 0, 8);
assert_eq!(schema["maxItems"], 0);
assert_eq!(schema["items"]["type"], "string");
assert!(jsonschema::validator_for(&schema)
.unwrap()
.is_valid(&serde_json::json!([])));
assert!(
jsonschema::validator_for(&schema)
.unwrap()
.is_valid(&serde_json::json!([]))
);
}
#[test]