(json: &str)
| 217 | } |
| 218 | |
| 219 | fn output(json: &str) -> Result<CommandOutput, ChangeSourceError> { |
| 220 | Ok(CommandOutput { |
| 221 | status: 0, |
| 222 | stdout: json.as_bytes().to_vec(), |
| 223 | stderr: Vec::new(), |
| 224 | }) |
| 225 | } |
| 226 | |
| 227 | #[test] |
| 228 | fn implements_canonical_candidate_contract() { |