1
0
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:
chavacava
2025-08-04 06:58:14 +02:00
committed by GitHub
parent 12d96adfd4
commit f353e4b0e5
6 changed files with 222 additions and 0 deletions

View 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{})
}