(t *testing.T, g *TestGitRepo, tag string)
| 416 | } |
| 417 | |
| 418 | func Tag(t *testing.T, g *TestGitRepo, tag string) { |
| 419 | if !assert.NoError(t, g.Tag(tag)) { |
| 420 | t.FailNow() |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | func CopyKptfile(t *testing.T, src, dest string) { |
| 425 | b, err := ioutil.ReadFile(filepath.Join(src, kptfile.KptFileName)) |