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

Function bool_keyword

resources/sshdconfig/src/parser.rs:474–478  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

472
473 #[test]
474 fn bool_keyword() {
475 let input = "printmotd yes\r\n";
476 let result: Map<String, Value> = parse_text_to_map(input).unwrap();
477 assert_eq!(result.get("printmotd").unwrap(), &Value::Bool(true));
478 }
479
480 #[test]
481 fn multiarg_string_with_spaces_no_quotes_keyword() {

Callers

nothing calls this directly

Calls 1

parse_text_to_mapFunction · 0.85

Tested by

no test coverage detected