зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1302192: require headings to begin a line; r=hammad13060+583205
MozReview-Commit-ID: 4me4VI8Si0h --HG-- extra : rebase_source : 0bcb53df1973e47d8915fd38e943633cc9706e4f
This commit is contained in:
Родитель
cb6dd785e8
Коммит
79d315e9c8
|
@ -24,7 +24,7 @@ def verify_docs(filename, identifiers, appearing_as):
|
|||
]
|
||||
elif appearing_as == "heading":
|
||||
expression_list = [
|
||||
identifier + "\n(?:(?:(?:-+\n)+)|(?:(?:.+\n)+))"
|
||||
'\n' + identifier + "\n(?:(?:(?:-+\n)+)|(?:(?:.+\n)+))"
|
||||
for identifier in identifiers
|
||||
if not identifier.startswith("_")
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче