Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index cd3dc23b4316ec4bf559bb7280d7f80f1187c738..68b981908938e48685012fb5644c72b5b36d35e8 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -328,7 +328,7 @@ def CheckLongLines(input_api, output_api, maxlen, source_file_filter=None): |
SPECIAL_JAVA_STARTS = ('package ', 'import ') |
def no_long_lines(file_extension, line): |
- # Allow special java statements to be as long as neccessary. |
+ # Allow special java statements to be as long as necessary. |
if file_extension == 'java' and line.startswith(SPECIAL_JAVA_STARTS): |
return True |
@@ -487,7 +487,7 @@ def GetUnitTestsInDirectory( |
input_api, output_api, directory, whitelist=None, blacklist=None): |
"""Lists all files in a directory and runs them. Doesn't recurse. |
- It's mainly a wrapper for RunUnitTests. USe whitelist and blacklist to filter |
+ It's mainly a wrapper for RunUnitTests. Use whitelist and blacklist to filter |
tests accordingly. |
""" |
unit_tests = [] |
@@ -547,6 +547,7 @@ def GetUnitTests(input_api, output_api, unit_tests): |
message=message_type)) |
return results |
+ |
def GetPythonUnitTests(input_api, output_api, unit_tests): |
"""Run the unit tests out of process, capture the output and use the result |
code to determine success. |