()
| 1366 | |
| 1367 | #[test] |
| 1368 | fn forward_spec_parse_port_only() { |
| 1369 | let spec = ForwardSpec::parse("8080").unwrap(); |
| 1370 | assert_eq!(spec.bind_addr, "127.0.0.1"); |
| 1371 | assert_eq!(spec.port, 8080); |
| 1372 | } |
| 1373 | |
| 1374 | #[test] |
| 1375 | fn forward_spec_parse_ipv4_and_port() { |
nothing calls this directly
no outgoing calls
no test coverage detected