close files

This commit is contained in:
Josh Yan 2024-07-29 15:05:40 -07:00
parent 3cd1c9baa9
commit cf7344b221

View File

@ -682,6 +682,7 @@ func TestCreateVersion(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer f.Close()
bts := json.NewDecoder(f)
var m Manifest
@ -725,6 +726,7 @@ func TestCreateVersion(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer f.Close()
bts := json.NewDecoder(f)
var m Manifest