1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

feature: new rule use-waitgroup-go (#1484)

This commit is contained in:
chavacava
2025-08-26 19:04:46 +02:00
committed by GitHub
parent 14c91fed1d
commit 2db7034aca
9 changed files with 296 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package test
import (
"testing"
"github.com/mgechev/revive/lint"
"github.com/mgechev/revive/rule"
)
func TestUseWaitGroupGo(t *testing.T) {
testRule(t, "use_waitgroup_go", &rule.UseWaitGroupGoRule{}, &lint.RuleConfig{})
testRule(t, "go1.25/use_waitgroup_go", &rule.UseWaitGroupGoRule{}, &lint.RuleConfig{})
}