()
| 100 | |
| 101 | #[test] |
| 102 | fn fields_parse() { |
| 103 | let cmd = WorkspaceShow { |
| 104 | slug: "my-ws".to_string(), |
| 105 | org: Some("acme".to_string()), |
| 106 | format: "json".to_string(), |
| 107 | }; |
| 108 | assert_eq!(cmd.slug, "my-ws"); |
| 109 | assert_eq!(cmd.org.as_deref(), Some("acme")); |
| 110 | assert_eq!(cmd.format, "json"); |
| 111 | } |
| 112 | |
| 113 | #[test] |
| 114 | fn default_format_is_table() { |
nothing calls this directly
no outgoing calls
no test coverage detected