2018-07-28 07:38:39 +02:00
|
|
|
package test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TestUnnecessaryStmt rule.
|
|
|
|
func TestUnnecessaryStmt(t *testing.T) {
|
2024-11-11 13:39:10 +02:00
|
|
|
testRule(t, "unnecessary_stmt", &rule.UnnecessaryStmtRule{})
|
2018-07-28 07:38:39 +02:00
|
|
|
}
|