()
| 3953 | |
| 3954 | #[test] |
| 3955 | fn gateway_list_accepts_output_json() { |
| 3956 | let cli = Cli::try_parse_from(["openshell", "gateway", "list", "-o", "json"]) |
| 3957 | .expect("gateway list -o json should parse"); |
| 3958 | |
| 3959 | assert!(matches!( |
| 3960 | cli.command, |
| 3961 | Some(Commands::Gateway { |
| 3962 | command: Some(GatewayCommands::List { |
| 3963 | output: OutputFormat::Json, |
| 3964 | }) |
| 3965 | }) |
| 3966 | )); |
| 3967 | } |
| 3968 | |
| 3969 | #[test] |
| 3970 | fn gateway_list_accepts_output_yaml() { |
nothing calls this directly
no outgoing calls
no test coverage detected