(&self, verb: &str)
| 97 | String::from_utf8(out.stdout).unwrap() |
| 98 | } |
| 99 | fn hook(&self, verb: &str) { |
| 100 | let out = self.hook_output(verb); |
| 101 | assert!( |
| 102 | out.status.success(), |
| 103 | "hook {verb}: {}{}", |
| 104 | String::from_utf8_lossy(&out.stdout), |
| 105 | String::from_utf8_lossy(&out.stderr) |
| 106 | ); |
| 107 | } |
| 108 | fn hook_output(&self, verb: &str) -> std::process::Output { |
| 109 | self.hook_output_in(verb, self.root()) |
| 110 | } |
no test coverage detected