1
0
mirror of https://github.com/ko-build/ko.git synced 2025-11-06 09:19:12 +02:00

Fix layout tests on macos (#384)

This commit is contained in:
Jason Hall
2021-07-15 10:16:24 -04:00
committed by GitHub
parent 8295e25f7d
commit 56282bf645
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ func TestLayout(t *testing.T) {
}
importpath := "github.com/Google/go-containerregistry/cmd/crane"
tmp, err := ioutil.TempDir("", "ko")
tmp, err := ioutil.TempDir("/tmp", "ko")
if err != nil {
t.Fatal(err)
}

View File

@@ -42,7 +42,7 @@ func TestMulti(t *testing.T) {
tp := NewTarball(fp.Name(), repoName, md5Hash, []string{})
tmp, err := ioutil.TempDir("", "ko")
tmp, err := ioutil.TempDir("/tmp", "ko")
if err != nil {
t.Fatal(err)
}