moricho / tparallel

tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes
MIT License
24 stars 4 forks source link

No warning when a top level test has no subtests #9

Closed moricho closed 4 years ago

moricho commented 4 years ago

If a top-level test has no subtests, tparallel should not warn regardless of whether t.Parallel() is called or not.

fixes #8

moricho commented 4 years ago

Related to this PR https://github.com/golangci/golangci-lint/pull/1380