mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
exported: improve detection and error message (#1403)
This commit is contained in:
@@ -51,3 +51,7 @@ func TestCheckDeprecationComment(t *testing.T) {
|
||||
func TestExportedMainPackage(t *testing.T) {
|
||||
testRule(t, "exported_main", &rule.ExportedRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
||||
func TestCommentVariations(t *testing.T) {
|
||||
testRule(t, "exported_issue_1235", &rule.ExportedRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user