()
| 1283 | |
| 1284 | #[test] |
| 1285 | fn port_parsing_empty_string() { |
| 1286 | let input = ""; |
| 1287 | let has_ports = input.split(',').any(|s| s.trim().parse::<u16>().is_ok()); |
| 1288 | assert!(!has_ports); |
| 1289 | } |
| 1290 | |
| 1291 | #[test] |
| 1292 | fn port_parsing_invalid_mixed() { |
nothing calls this directly
no outgoing calls
no test coverage detected