mirror of
https://github.com/mgechev/revive.git
synced 2025-05-19 22:03:20 +02:00
12 lines
156 B
Go
12 lines
156 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
)
|
|
|
|
func TestIfReturn(t *testing.T) {
|
|
testRule(t, "if_return", &rule.IfReturnRule{})
|
|
}
|