1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/test/nested-structs_test.go
Robert Deusser 575ce5f61a
new rule: nested-structs (#530)
new rule: nested-structs
2021-06-15 11:36:41 +02:00

13 lines
221 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/lint"
"github.com/mgechev/revive/rule"
)
func TestNestedStructs(t *testing.T) {
testRule(t, "nested-structs", &rule.NestedStructs{}, &lint.RuleConfig{})
}