1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-25 22:12:38 +02:00
Files
revive/test/disable_annotations_test.go

21 lines
499 B
Go

package test_test
import (
"testing"
"github.com/mgechev/revive/lint"
"github.com/mgechev/revive/rule"
)
func TestDisabledAnnotations(t *testing.T) {
testRule(t, "disable_annotations", &rule.ExportedRule{}, &lint.RuleConfig{})
}
func TestModifiedAnnotations(t *testing.T) {
testRule(t, "disable_annotations2", &rule.VarNamingRule{}, &lint.RuleConfig{})
}
func TestDisableNextLineAnnotations(t *testing.T) {
testRule(t, "disable_annotations3", &rule.VarNamingRule{}, &lint.RuleConfig{})
}