()
| 461 | |
| 462 | #[test] |
| 463 | fn multiarg_string_with_spaces_keyword() { |
| 464 | let input = "allowgroups administrators \"openssh users\"\r\n"; |
| 465 | let result: Map<String, Value> = parse_text_to_map(input).unwrap(); |
| 466 | let expected = vec![ |
| 467 | Value::String("administrators".to_string()), |
| 468 | Value::String("openssh users".to_string()), |
| 469 | ]; |
| 470 | assert_eq!(result.get("allowgroups").unwrap(), &Value::Array(expected)); |
| 471 | } |
| 472 | |
| 473 | #[test] |
| 474 | fn bool_keyword() { |
nothing calls this directly
no test coverage detected