MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / port_parsing_empty_string

Function port_parsing_empty_string

crates/openshell-core/src/forward.rs:1285–1289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected