mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
exported: ignore exported symbols from the main package (#1398)
This commit is contained in:
@@ -47,3 +47,7 @@ func TestCheckDirectiveComment(t *testing.T) {
|
||||
func TestCheckDeprecationComment(t *testing.T) {
|
||||
testRule(t, "exported_issue_1231", &rule.ExportedRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
||||
func TestExportedMainPackage(t *testing.T) {
|
||||
testRule(t, "exported_main", &rule.ExportedRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user