2025-11-15 20:24:16 +02:00
|
|
|
package test_test
|
2019-04-17 22:55:52 +02:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func TestBareReturn(t *testing.T) {
|
2024-11-11 13:39:10 +02:00
|
|
|
testRule(t, "bare_return", &rule.BareReturnRule{})
|
2019-04-17 22:55:52 +02:00
|
|
|
}
|