mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
b2532b3c33
* Adds rule superfluous-else (an extension of indent-error-flow) * Fix superfluous-else rule struct namming. * Adds superfuous-else rule to the rules table * Adds confusing-naming rule * adds multifile test * clean-up * fix config.go * working version
13 lines
198 B
Go
13 lines
198 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
)
|
|
|
|
// TestModifiesParam rule.
|
|
func TestModifiesParam(t *testing.T) {
|
|
testRule(t, "modifies-param", &rule.ModifiesParamRule{})
|
|
}
|