Skip to content

Commit

Permalink
Close gzip reader
Browse files Browse the repository at this point in the history
  • Loading branch information
SBGoods committed Jul 23, 2024
1 parent 0a6c04f commit 5943e85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/tar_archiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ func ensureTarContents(t *testing.T, tarfilepath string, wants map[string][]byte
if err != nil {
t.Fatalf("could not open tar.gz file: %s", err)
}
defer gzf.Close()

tarReader := tar.NewReader(gzf)

Expand Down

0 comments on commit 5943e85

Please sign in to comment.