()
| 3894 | |
| 3895 | #[test] |
| 3896 | fn sandbox_list_accepts_output_json() { |
| 3897 | let cli = Cli::try_parse_from(["openshell", "sandbox", "list", "-o", "json"]) |
| 3898 | .expect("sandbox list -o json should parse"); |
| 3899 | |
| 3900 | assert!(matches!( |
| 3901 | cli.command, |
| 3902 | Some(Commands::Sandbox { |
| 3903 | command: Some(SandboxCommands::List { |
| 3904 | output: OutputFormat::Json, |
| 3905 | .. |
| 3906 | }) |
| 3907 | }) |
| 3908 | )); |
| 3909 | } |
| 3910 | |
| 3911 | #[test] |
| 3912 | fn sandbox_list_accepts_output_yaml() { |
nothing calls this directly
no outgoing calls
no test coverage detected