Skip to content

Commit 039c084

Browse files
committed
Remove Close usage
1 parent 08be1f4 commit 039c084

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/sqlrunner_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ func BenchmarkDbrunner(b *testing.B) {
290290
require.NoError(b, err)
291291

292292
_, _ = runner.Query(context.TODO(), "SELECT value FROM benchtest")
293-
_ = runner.Close()
294293
}
295294
})
296295

@@ -309,7 +308,6 @@ func BenchmarkDbrunner(b *testing.B) {
309308
require.NoError(b, err)
310309

311310
_, _ = runner.Query(context.TODO(), "SELECT value FROM benchtest")
312-
_ = runner.Close()
313311
}
314312
})
315313
}

0 commit comments

Comments
 (0)