1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00
Files
revive/test/identical_ifelseif_branches_test.go
chavacava 47205455ea feature: new rules identical-switch-branches and identical-ifelseif-branches
These new rules result from the refactoring of `identical-branches` that will cover only simple/single if..else statements.
2025-08-06 11:19:12 +02:00

12 lines
208 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
func TestIdenticalIfElseIfBranches(t *testing.T) {
testRule(t, "identical_ifelseif_branches", &rule.IdenticalIfElseIfBranchesRule{})
}