()
| 450 | |
| 451 | #[test] |
| 452 | fn multiarg_string_keyword() { |
| 453 | let input = "hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com\r\n"; |
| 454 | let result: Map<String, Value> = parse_text_to_map(input).unwrap(); |
| 455 | let expected = vec![ |
| 456 | Value::String("ssh-ed25519-cert-v01@openssh.com".to_string()), |
| 457 | Value::String("ecdsa-sha2-nistp256-cert-v01@openssh.com".to_string()), |
| 458 | ]; |
| 459 | assert_eq!(result.get("hostkeyalgorithms").unwrap(), &Value::Array(expected)); |
| 460 | } |
| 461 | |
| 462 | #[test] |
| 463 | fn multiarg_string_with_spaces_keyword() { |
nothing calls this directly
no test coverage detected