From 9f8cf2e30f285b5e19942f380e34f22f822d234d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 24 Aug 2026 22:55:16 +0200 Subject: [PATCH] Format strict array witness --- crates/ghostlight-dungeon/src/persona.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/ghostlight-dungeon/src/persona.rs b/crates/ghostlight-dungeon/src/persona.rs index 0a31337..ff22e6c 100644 --- a/crates/ghostlight-dungeon/src/persona.rs +++ b/crates/ghostlight-dungeon/src/persona.rs @@ -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]