(output: Output, what: &str)
| 264 | } |
| 265 | |
| 266 | fn failure(output: Output, what: &str) -> String { |
| 267 | assert!( |
| 268 | !output.status.success(), |
| 269 | "{what} should have failed:\n{}", |
| 270 | text(&output) |
| 271 | ); |
| 272 | text(&output) |
| 273 | } |
| 274 | |
| 275 | fn write(root: &Path, rel: &str, content: &str) { |
| 276 | let path = root.join(rel); |
no test coverage detected