1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-26 03:52:12 +02:00
revive/test/max_public_structs_test.go

15 lines
267 B
Go
Raw Normal View History

2018-02-04 14:51:19 -08:00
package test
import (
"testing"
"github.com/mgechev/revive/lint"
"github.com/mgechev/revive/rule"
)
func TestMaxPublicStructs(t *testing.T) {
testRule(t, "max_public_structs", &rule.MaxPublicStructsRule{}, &lint.RuleConfig{
Arguments: []any{int64(1)},
2018-02-04 14:51:19 -08:00
})
}