MCPcopy Create free account
hub / github.com/PowerShell/DSC / invalid_resourceid

Function invalid_resourceid

lib/dsc-lib/src/functions/variables.rs:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66 #[test]
67 fn invalid_resourceid() {
68 let mut parser = Statement::new().unwrap();
69 let result = parser.parse_and_execute("[variables('foo')]", &Context::new());
70 assert!(result.is_err());
71 }
72}

Callers

nothing calls this directly

Calls 2

parse_and_executeMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected