()
| 130 | |
| 131 | #[test] |
| 132 | fn parses_bootnode_command() { |
| 133 | let cli = BaseCli::parse_from(["base", "bootnode"]); |
| 134 | |
| 135 | assert_eq!(cli.chain, None); |
| 136 | let BaseCommand::Bootnode(bootnode) = cli.command else { |
| 137 | panic!("expected bootnode command"); |
| 138 | }; |
| 139 | assert_eq!(bootnode.consensus.listen_tcp_port, 9222); |
| 140 | assert_eq!(bootnode.execution.v4_addr.to_string(), "0.0.0.0:30301"); |
| 141 | } |
| 142 | } |
nothing calls this directly
no outgoing calls
no test coverage detected