1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

fix #622 (Rule 'var-naming' should allow Fuzz_xxx) (#623)

This commit is contained in:
chavacava
2022-01-18 15:26:29 +01:00
committed by GitHub
parent af953e6189
commit b721f69625
3 changed files with 20 additions and 1 deletions

View File

@@ -11,4 +11,6 @@ func TestVarNaming(t *testing.T) {
testRule(t, "var-naming", &rule.VarNamingRule{}, &lint.RuleConfig{
Arguments: []interface{}{[]interface{}{"ID"}, []interface{}{"VM"}},
})
testRule(t, "var-naming_test", &rule.VarNamingRule{}, &lint.RuleConfig{})
}