(output: Output)
| 93 | } |
| 94 | |
| 95 | fn success(output: Output) -> String { |
| 96 | assert!( |
| 97 | output.status.success(), |
| 98 | "stdout: {}\nstderr: {}", |
| 99 | String::from_utf8_lossy(&output.stdout), |
| 100 | String::from_utf8_lossy(&output.stderr) |
| 101 | ); |
| 102 | String::from_utf8(output.stdout).unwrap() |
| 103 | } |
| 104 | |
| 105 | #[test] |
| 106 | fn ordinary_opencode_authoring_records_explicit_governing_intent() { |