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

Unified Diff: Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py

Issue 1184413003: Relax the braces style checker to allow either {} or { }. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Relax the {} check. Created 5 years, 6 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 | « Tools/Scripts/webkitpy/style/checkers/cpp.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
diff --git a/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py b/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
index d79ec7cb08231999cb64de23e50fee4f08d7f8e1..2e97babfadd7cbd4577624de849993d1fea3ec20 100644
--- a/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
+++ b/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
@@ -1709,7 +1709,7 @@ class CppStyleTest(CppStyleTestBase):
def test_spacing_between_braces(self):
self.assert_lint(' { }', '')
- self.assert_lint(' {}', 'Missing space inside { }. [whitespace/braces] [5]')
+ self.assert_lint(' {}', '')
self.assert_lint(' { }', 'Too many spaces inside { }. [whitespace/braces] [5]')
def test_spacing_around_else(self):
« no previous file with comments | « Tools/Scripts/webkitpy/style/checkers/cpp.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698