(t *testing.T, dir string, args ...string)
| 111 | } |
| 112 | |
| 113 | func runGitIn(t *testing.T, dir string, args ...string) { |
| 114 | t.Helper() |
| 115 | cmd := exec.Command("git", args...) |
| 116 | cmd.Dir = dir |
| 117 | out, err := cmd.CombinedOutput() |
| 118 | require.NoError(t, err, "git %v: %s", args, out) |
| 119 | } |
no outgoing calls
no test coverage detected