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

Function forward_spec_display

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

Source from the content-addressed store, hash-verified

1665
1666 #[test]
1667 fn forward_spec_display() {
1668 let spec = ForwardSpec::parse("8080").unwrap();
1669 assert_eq!(spec.to_string(), "8080");
1670
1671 let spec = ForwardSpec::parse("0.0.0.0:8080").unwrap();
1672 assert_eq!(spec.to_string(), "0.0.0.0:8080");
1673 }
1674}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected