2018-06-07 13:27:02 +02:00
|
|
|
package test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TestSuperfluousElse rule.
|
|
|
|
func TestSuperfluousElse(t *testing.T) {
|
2018-06-07 13:54:43 +02:00
|
|
|
testRule(t, "superfluous-else", &rule.SuperfluousElseRule{})
|
2018-06-07 13:27:02 +02:00
|
|
|
}
|