(local, remote string)
| 135 | } |
| 136 | |
| 137 | func addRemote(local, remote string) { |
| 138 | cmd := exec.Command("git", "remote", "add", "origin", remote) |
| 139 | cmd.Dir = local |
| 140 | err := cmd.Run() |
| 141 | CheckIfError(err) |
| 142 | } |
| 143 | |
| 144 | func testExample(t *testing.T, name, dir string) { |
| 145 | arguments := append([]string{"run", dir}, args[name]...) |
no test coverage detected
searching dependent graphs…