MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / parse_rejects_unknown_fields

Function parse_rejects_unknown_fields

crates/openshell-policy/src/lib.rs:1566–1569  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1564
1565 #[test]
1566 fn parse_rejects_unknown_fields() {
1567 let yaml = "version: 1\nbogus_field: true\n";
1568 assert!(parse_sandbox_policy(yaml).is_err());
1569 }
1570
1571 #[test]
1572 fn l7_config_stanza_runtime_fields_use_canonical_schema() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected