1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-21 17:16:40 +02:00
revive/test/if_return_test.go
2024-11-11 19:31:18 +01: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{})
}