mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
feature: new rule identical-ifelseif-conditions (#1454)
This commit is contained in:
11
test/identical_ifelseif_conditions_test.go
Normal file
11
test/identical_ifelseif_conditions_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mgechev/revive/rule"
|
||||
)
|
||||
|
||||
func TestIdenticalIfElseIfConditions(t *testing.T) {
|
||||
testRule(t, "identical_ifelseif_conditions", &rule.IdenticalIfElseIfConditionsRule{})
|
||||
}
|
||||
Reference in New Issue
Block a user