mirror of
https://github.com/mgechev/revive.git
synced 2025-01-10 03:17:11 +02:00
16 lines
265 B
Go
16 lines
265 B
Go
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{})
|
|
}
|