Fix goroutine leak check

This commit is contained in:
Fedor Korotkiy 2023-04-17 14:01:22 +04:00
parent f490f316e7
commit 70dacc6478
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ import (
)
func TestDao(t *testing.T) {
goleak.VerifyNone(t)
t.Cleanup(func() { goleak.VerifyNone(t) })
dsn := pgfixture.Start(t)
ctx := context.Background()

View file

@ -16,7 +16,7 @@ import (
)
func TestLedger(t *testing.T) {
goleak.VerifyNone(t)
t.Cleanup(func() { goleak.VerifyNone(t) })
dsn := pgfixture.Start(t)