chore: add tparallel linter (#88)

Add the tparallel linter, which checks that subtests of a parallel
test also run in parallel.
This commit is contained in:
Jonathan Yu
2022-01-29 12:21:16 -08:00
committed by GitHub
parent a193a089b8
commit 599ea2a331
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,8 @@ func TestPubsubMemory(t *testing.T) {
t.Parallel()
t.Run("Memory", func(t *testing.T) {
t.Parallel()
pubsub := database.NewPubsubInMemory()
event := "test"
data := "testing"