2025-08-07 14:18:58 +02:00
|
|
|
package test
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
|
|
|
)
|
|
|
|
|
|
2025-11-06 12:50:18 +02:00
|
|
|
func TestUselessFallthrough(t *testing.T) {
|
2025-08-07 14:18:58 +02:00
|
|
|
testRule(t, "useless_fallthrough", &rule.UselessFallthroughRule{})
|
|
|
|
|
}
|