Skip to content

Commit ba73dd0

Browse files
committed
Fix test
1 parent fb91a85 commit ba73dd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/git_misc_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ func TestDataAsyncDoubleRead_Issue29101(t *testing.T) {
5656
b := entry.Blob()
5757
r1, err := b.DataAsync()
5858
assert.NoError(t, err)
59-
defer r1.Close()
59+
r1.Close()
6060
r2, err := b.DataAsync()
6161
assert.NoError(t, err)
62-
defer r2.Close()
62+
r2.Close()
6363

6464
var data1, data2 []byte
6565
wg := sync.WaitGroup{}

0 commit comments

Comments
 (0)