2025-11-15 20:24:16 +02:00
|
|
|
package test_test
|
2021-08-16 00:30:08 +02:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func TestUselessBreak(t *testing.T) {
|
2024-11-11 13:39:10 +02:00
|
|
|
testRule(t, "useless_break", &rule.UselessBreak{})
|
2021-08-16 00:30:08 +02:00
|
|
|
}
|