Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce7a223

Browse files
author
Tomás Senart
committed
fixup! Pass config to WithInstance
1 parent a06a92d commit ce7a223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/postgres/postgres_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func TestWithInstance_Concurrent(t *testing.T) {
327327
ch := make(chan error, concurrency)
328328
for i := 0; i < concurrency; i++ {
329329
go func() {
330-
_, err := WithInstance(db, nil)
330+
_, err := WithInstance(db, &Config{})
331331
ch <- err
332332
}()
333333
}

0 commit comments

Comments
 (0)