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

Function test_remediation

crates/openshell-ocsf/src/objects/finding.rs:106–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105 #[test]
106 fn test_remediation() {
107 let rem = Remediation::new("Set NODE_USE_ENV_PROXY=1");
108 let json = serde_json::to_value(&rem).unwrap();
109 assert_eq!(json["desc"], "Set NODE_USE_ENV_PROXY=1");
110 }
111}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected