Skip to content

Commit

Permalink
fix gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Dec 23, 2021
1 parent 0700c32 commit bd29298
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/util/tar_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ func Test_IsLocalTarArchive(t *testing.T) {

func Test_AddFileToTar(t *testing.T) {
testDir, err := ioutil.TempDir("", "")
if err != nil {
t.Fatalf("err setting up temp dir: %v", err)
}
defer os.RemoveAll(testDir)
if err != nil {
t.Fatalf("err setting up temp dir: %v", err)
}
defer os.RemoveAll(testDir)

path := filepath.Join(testDir, regularFiles[0])
if err := ioutil.WriteFile(path, []byte("hello"), os.ModePerm); err != nil {
Expand Down

0 comments on commit bd29298

Please sign in to comment.