test_linter_custom_check.py: Fix typo in docstring.

This commit is contained in:
Robert Hönig 2017-09-13 15:28:36 +02:00 committed by Tim Abbott
parent 1f93c06b76
commit 402d7fca50
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ CHECK_MESSAGE = "Fix the corresponding rule in `tools/linter_lib/custom_check.py
class TestCustomRulesFormat(TestCase): class TestCustomRulesFormat(TestCase):
def test_paths_in_rules(self, mock_custom_check_file): def test_paths_in_rules(self, mock_custom_check_file):
# type: (MagicMock) -> None # type: (MagicMock) -> None
"""Verifies that the paths mentoned in linter rules actually exist""" """Verifies that the paths mentioned in linter rules actually exist"""
by_lang = dict.fromkeys(['py', 'js', 'sh', 'css', 'handlebars', 'html', 'json', 'md', 'txt', 'text', 'yaml'], by_lang = dict.fromkeys(['py', 'js', 'sh', 'css', 'handlebars', 'html', 'json', 'md', 'txt', 'text', 'yaml'],
['foo/bar.baz']) ['foo/bar.baz'])
check_custom_checks_py, check_custom_checks_nonpy = build_custom_checkers(by_lang) check_custom_checks_py, check_custom_checks_nonpy = build_custom_checkers(by_lang)