mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
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:
@ -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"
|
||||
|
Reference in New Issue
Block a user