mirror of
https://github.com/mgechev/revive.git
synced 2025-11-29 22:28:23 +02:00
Lint cleanup (#679)
This commit is contained in:
@@ -39,11 +39,11 @@ func TestReviveCreateInstance(t *testing.T) {
|
||||
type mockRule struct {
|
||||
}
|
||||
|
||||
func (r *mockRule) Name() string {
|
||||
func (*mockRule) Name() string {
|
||||
return "mock-rule"
|
||||
}
|
||||
|
||||
func (r *mockRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
|
||||
func (*mockRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user