1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/test/if-return_test.go
2021-06-29 13:04:51 -07:00

13 lines
178 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
// TestIfReturn rule.
func TestIfReturn(t *testing.T) {
testRule(t, "if-return", &rule.IfReturnRule{})
}