Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: third_party/WebKit/Tools/Scripts/check-testharness-expected-pass

Issue 2014063002: Run format-webkit on webkitpy code (without string conversion). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/lint-test-expectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/check-testharness-expected-pass
diff --git a/third_party/WebKit/Tools/Scripts/check-testharness-expected-pass b/third_party/WebKit/Tools/Scripts/check-testharness-expected-pass
index 7ed48f7947b700c48e79795abda8e40a1e76d4f6..42c3ef0919b07834304a9505448491327b07387a 100755
--- a/third_party/WebKit/Tools/Scripts/check-testharness-expected-pass
+++ b/third_party/WebKit/Tools/Scripts/check-testharness-expected-pass
@@ -22,12 +22,13 @@ paths = []
for path in sys.argv[1:]:
content = open(path, 'r').read()
if (testharness_results.is_testharness_output(content) and
- testharness_results.is_testharness_output_passing(content) and
- not testharness_results.is_testharness_output_with_console_errors_or_warnings(content)):
+ testharness_results.is_testharness_output_passing(content) and
+ not testharness_results.is_testharness_output_with_console_errors_or_warnings(content)):
paths.append(path)
if len(paths) > 0:
- sys.stderr.write('* The following files are passing testharness results without console error messages, they should be removed:\n ')
+ sys.stderr.write(
+ '* The following files are passing testharness results without console error messages, they should be removed:\n ')
sys.stderr.write('\n '.join(paths))
sys.stderr.write('\n')
sys.exit("ERROR: found passing testharness results without console error messages.")
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/lint-test-expectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698