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

Unified Diff: common/eslint/eslint/smoke_test.py

Issue 2535983002: [eslint] Don't treat eslint warnings as PRESUBMIT errors (Closed)
Patch Set: fix smoke test Created 4 years 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 | « common/eslint/eslint/__init__.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/eslint/eslint/smoke_test.py
diff --git a/common/eslint/eslint/smoke_test.py b/common/eslint/eslint/smoke_test.py
index 396131dc031f6d2473f331b4420aec6232e1cef0..9a0f442488dcff106e1827580b4d4747792d9d64 100644
--- a/common/eslint/eslint/smoke_test.py
+++ b/common/eslint/eslint/smoke_test.py
@@ -29,7 +29,8 @@ class SmokeTest(unittest.TestCase):
tmp_file.write(_TEMP_FILE_CONTENTS)
tmp_file.close()
- output = eslint.RunEslintOnFiles([tmp_file.name])
+ success, output = eslint.RunEslint([tmp_file.name])
+ self.assertFalse(success)
self.assertTrue('is not in camel case' in output)
finally:
os.remove(tmp_file.name)
« no previous file with comments | « common/eslint/eslint/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698