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

Function string_literal

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

Source from the content-addressed store, hash-verified

106
107 #[test]
108 fn string_literal() {
109 let mut parser = Statement::new().unwrap();
110 let result = parser.parse_and_execute("this is a string", &Context::new()).unwrap();
111 assert_eq!(result, "this is a string");
112 }
113
114 #[test]
115 fn bracket_string() {

Callers

nothing calls this directly

Calls 2

parse_and_executeMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected