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