mirror of
https://github.com/mgechev/revive.git
synced 2024-11-28 08:49:11 +02:00
00a86ae1fd
* new rule: unused-receiver * unused-receiver: adds more test cases
12 lines
174 B
Go
12 lines
174 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
)
|
|
|
|
func TestUnusedReceiver(t *testing.T) {
|
|
testRule(t, "unused-receiver", &rule.UnusedReceiverRule{})
|
|
}
|