github.com/Johnny2210/revive@v1.0.8-0.20210625134200-febf37ccd0f5/test/bool-literal-in-expr_test.go (about) 1 package test 2 3 import ( 4 "testing" 5 6 "github.com/mgechev/revive/rule" 7 ) 8 9 // BoolLiteral rule. 10 func TestBoolLiteral(t *testing.T) { 11 testRule(t, "bool-literal-in-expr", &rule.BoolLiteralRule{}) 12 }