MCPcopy Index your code
hub / github.com/PowerShell/DSC / invalid_function

Function invalid_function

lib/dsc-lib/src/parser/mod.rs:129–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128 #[test]
129 fn invalid_function() {
130 let mut parser = Statement::new().unwrap();
131 let result = parser.parse_and_execute("[invalid()]", &Context::new());
132 assert!(result.is_err());
133 }
134
135 #[test]
136 fn nonquoted_string_parameter() {

Callers

nothing calls this directly

Calls 2

parse_and_executeMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected