mirror of
https://github.com/mgechev/revive.git
synced 2024-12-02 09:02:23 +02:00
13 lines
178 B
Go
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{})
|
|
}
|