github.com/azazeal/revive@v1.0.9/test/disable-annotations_test.go (about) 1 package test 2 3 import ( 4 "testing" 5 6 "github.com/azazeal/revive/lint" 7 "github.com/azazeal/revive/rule" 8 ) 9 10 func TestDisabledAnnotations(t *testing.T) { 11 testRule(t, "disable-annotations", &rule.ExportedRule{}, &lint.RuleConfig{}) 12 } 13 14 func TestModifiedAnnotations(t *testing.T) { 15 testRule(t, "disable-annotations2", &rule.VarNamingRule{}, &lint.RuleConfig{}) 16 }