()
| 3983 | |
| 3984 | #[test] |
| 3985 | fn provider_list_accepts_output_json() { |
| 3986 | let cli = Cli::try_parse_from(["openshell", "provider", "list", "-o", "json"]) |
| 3987 | .expect("provider list -o json should parse"); |
| 3988 | |
| 3989 | assert!(matches!( |
| 3990 | cli.command, |
| 3991 | Some(Commands::Provider { |
| 3992 | command: Some(ProviderCommands::List { |
| 3993 | output: OutputFormat::Json, |
| 3994 | .. |
| 3995 | }) |
| 3996 | }) |
| 3997 | )); |
| 3998 | } |
| 3999 | |
| 4000 | #[test] |
| 4001 | fn provider_list_accepts_output_yaml() { |
nothing calls this directly
no outgoing calls
no test coverage detected