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

Unified Diff: chrome/browser/web_dev_style/js_checker_test.py

Issue 2860903002: web_dev_style: tweak varNamesLikeThis check to detect endsWithUnder_ (Closed)
Patch Set: Created 3 years, 8 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 | « chrome/browser/web_dev_style/js_checker.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_dev_style/js_checker_test.py
diff --git a/chrome/browser/web_dev_style/js_checker_test.py b/chrome/browser/web_dev_style/js_checker_test.py
index b9ea46bf46f8b7c22f736341a1e030d4ae320a80..1f0fea79ef918839992e0c901eec02b632098de1 100755
--- a/chrome/browser/web_dev_style/js_checker_test.py
+++ b/chrome/browser/web_dev_style/js_checker_test.py
@@ -370,6 +370,7 @@ class JsCheckerTest(SuperMoxTestBase):
def testVarNameFails(self):
lines = [
"var private_;",
+ "var hostName_ = 'https://google.com';",
" var _super_private",
" var unix_hacker = someFunc();",
]
« no previous file with comments | « chrome/browser/web_dev_style/js_checker.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698