()
| 3999 | |
| 4000 | #[test] |
| 4001 | fn provider_list_accepts_output_yaml() { |
| 4002 | let cli = Cli::try_parse_from(["openshell", "provider", "list", "-o", "yaml"]) |
| 4003 | .expect("provider list -o yaml should parse"); |
| 4004 | |
| 4005 | assert!(matches!( |
| 4006 | cli.command, |
| 4007 | Some(Commands::Provider { |
| 4008 | command: Some(ProviderCommands::List { |
| 4009 | output: OutputFormat::Yaml, |
| 4010 | .. |
| 4011 | }) |
| 4012 | }) |
| 4013 | )); |
| 4014 | } |
| 4015 | |
| 4016 | #[test] |
| 4017 | fn provider_list_output_conflicts_with_names() { |
nothing calls this directly
no outgoing calls
no test coverage detected