1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-02 09:02:23 +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{})
}