1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-10 03:17:11 +02:00
revive/test/unused-param_test.go

16 lines
265 B
Go
Raw Normal View History

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
func TestUnusedParam(t *testing.T) {
testRule(t, "unused-param", &rule.UnusedParamRule{})
}
func BenchmarkUnusedParam(b *testing.B) {
benchRule(b, "unused-param", &rule.UnusedParamRule{})
}