1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/test/confusing-results_test.go
chavacava b8eababb0d New rule: confusing-results (#27)
* Adds rule superfluous-else (an extension of indent-error-flow)

* Fix superfluous-else rule struct namming.

* Adds superfuous-else rule to the rules table

* Adds confusing-naming rule

* adds multifile test

* clean-up

* fix config.go

* confusing-results working version
2018-07-02 12:09:58 +10:00

12 lines
180 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
func TestConfusingResults(t *testing.T) {
testRule(t, "confusing-results", &rule.ConfusingResultsRule{})
}