1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00
Files
revive/test/comment_spacings_test.go

15 lines
290 B
Go

package test_test
import (
"testing"
"github.com/mgechev/revive/lint"
"github.com/mgechev/revive/rule"
)
func TestCommentSpacings(t *testing.T) {
testRule(t, "comment_spacings", &rule.CommentSpacingsRule{}, &lint.RuleConfig{
Arguments: []any{"myOwnDirective:", "+optional"}},
)
}