1
0
mirror of https://github.com/mgechev/revive.git synced 2025-12-03 22:39:22 +02:00

new rule: nested-structs (#530)

new rule: nested-structs
This commit is contained in:
Robert Deusser
2021-06-15 05:36:41 -04:00
committed by GitHub
parent 0ade5dc9f8
commit 575ce5f61a
6 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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{})
}