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

Function bracket_in_string

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

Source from the content-addressed store, hash-verified

120
121 #[test]
122 fn bracket_in_string() {
123 let mut parser = Statement::new().unwrap();
124 let result = parser.parse_and_execute("[this] is a string", &Context::new());
125 assert!(result.is_err());
126 }
127
128 #[test]
129 fn invalid_function() {

Callers

nothing calls this directly

Calls 2

parse_and_executeMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected