1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-10 10:40:23 +02:00
revive/test/if-return_test.go

13 lines
178 B
Go
Raw Normal View History

2021-06-29 22:04:51 +02:00
package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
// TestIfReturn rule.
func TestIfReturn(t *testing.T) {
testRule(t, "if-return", &rule.IfReturnRule{})
}