1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/test/bool-literal-in-expr_test.go
SalvadorC 771aa23069 bool-literal-in-expr (new rule) (#54)
* bool-literal-in-expr (new rule)

* bool-literal-in-expr: add test case and fix typo
2018-08-23 11:10:17 -07:00

13 lines
194 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
// BoolLiteral rule.
func TestBoolLiteral(t *testing.T) {
testRule(t, "bool-literal-in-expr", &rule.BoolLiteralRule{})
}