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