1
0
mirror of https://github.com/mgechev/revive.git synced 2025-04-15 11:36:48 +02:00
revive/test/waitgroup-by-copy_test.go
SalvadorC 6ebe5bbb1e waitgroup-by-value (new rule) (#76)
* waitgroup-by-value (new rule)

* code simplification
2018-09-30 12:29:11 -07:00

12 lines
178 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
func TestWaitGroupByCopy(t *testing.T) {
testRule(t, "waitgroup-by-copy", &rule.WaitGroupByCopyRule{})
}