Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
fix(clippy): use is_some_and in the skipped-constraints assertion
Fabio Rovai2a0b4be09ecd
diff --git a/tests/shacl_test.rs b/tests/shacl_test.rsindex eff5d8ff..c743b64d 100644--- a/tests/shacl_test.rs+++ b/tests/shacl_test.rs@@ -276,7 +276,9 @@ fn test_sh_not_is_not_silently_ignored() {let v: serde_json::Value = serde_json::from_str(&report).unwrap();assert!(v["conforms"].is_null(), "must not claim a pass: {v}");assert!(- v["skipped_constraints"].as_array().map_or(false, |a| !a.is_empty()),+ v["skipped_constraints"]+ .as_array()+ .is_some_and(|a| !a.is_empty()),"sh:not must be recorded as skipped: {v}");}