mirror of
https://github.com/mgechev/revive.git
synced 2025-11-27 22:18:41 +02:00
exported: correctly report deprecation-only comments (#1295)
This commit is contained in:
committed by
GitHub
parent
2442da0712
commit
c882cb8f4f
@@ -43,3 +43,7 @@ func TestCheckDisablingOnDeclarationTypes(t *testing.T) {
|
||||
func TestCheckDirectiveComment(t *testing.T) {
|
||||
testRule(t, "exported_issue_1202", &rule.ExportedRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
||||
func TestCheckDeprecationComment(t *testing.T) {
|
||||
testRule(t, "exported_issue_1231", &rule.ExportedRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user