(&self, args: &[&str])
| 68 | } |
| 69 | |
| 70 | fn git(&self, args: &[&str]) { |
| 71 | let output = self.command("git").args(args).output().expect("run git"); |
| 72 | assert!(output.status.success(), "git {args:?}: {output:?}"); |
| 73 | } |
| 74 | |
| 75 | fn commit(&self, path: &str, content: &str, message: &str) { |
| 76 | fs::write(self.dir().join(path), content).unwrap(); |
no test coverage detected