(t *testing.T, args ...string)
| 365 | } |
| 366 | |
| 367 | func gitForTest(t *testing.T, args ...string) string { |
| 368 | t.Helper() |
| 369 | var out, diagnostic bytes.Buffer |
| 370 | err := cmdGit(args, &out, &diagnostic) |
| 371 | require.NoError(t, err, "ghmock git %s\n%s", strings.Join(args, " "), diagnostic.String()) |
| 372 | return out.String() |
| 373 | } |
| 374 | |
| 375 | func prepareGitRepo(t *testing.T, remote string) { |
| 376 | t.Helper() |
no test coverage detected