Fix goroutine leak check
This commit is contained in:
parent
f490f316e7
commit
70dacc6478
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDao(t *testing.T) {
|
func TestDao(t *testing.T) {
|
||||||
goleak.VerifyNone(t)
|
t.Cleanup(func() { goleak.VerifyNone(t) })
|
||||||
dsn := pgfixture.Start(t)
|
dsn := pgfixture.Start(t)
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestLedger(t *testing.T) {
|
func TestLedger(t *testing.T) {
|
||||||
goleak.VerifyNone(t)
|
t.Cleanup(func() { goleak.VerifyNone(t) })
|
||||||
|
|
||||||
dsn := pgfixture.Start(t)
|
dsn := pgfixture.Start(t)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue