()
| 137 | |
| 138 | #[test] |
| 139 | fn test_json_format() { |
| 140 | let cmd = ProjectShow { |
| 141 | slug: "ws/proj".to_string(), |
| 142 | org: Some("acme".to_string()), |
| 143 | format: "json".to_string(), |
| 144 | }; |
| 145 | assert_eq!(cmd.format, "json"); |
| 146 | assert_eq!(cmd.org.as_deref(), Some("acme")); |
| 147 | } |
| 148 | |
| 149 | #[test] |
| 150 | fn test_invalid_slug_format() { |
nothing calls this directly
no outgoing calls
no test coverage detected