Title: [160222] trunk/Tools
Revision
160222
Author
[email protected]
Date
2013-12-06 09:18:32 -0800 (Fri, 06 Dec 2013)

Log Message

Fix spelling error in style checker: beggining
https://bugs.webkit.org/show_bug.cgi?id=125347

Reviewed by Anders Carlsson.

* Scripts/webkitpy/style/checkers/cpp.py:
(check_member_initialization_list):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_member_initialization_list):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (160221 => 160222)


--- trunk/Tools/ChangeLog	2013-12-06 14:54:06 UTC (rev 160221)
+++ trunk/Tools/ChangeLog	2013-12-06 17:18:32 UTC (rev 160222)
@@ -1,3 +1,15 @@
+2013-12-06  Chris Fleizach  <[email protected]>
+
+        Fix spelling error in style checker: beggining
+        https://bugs.webkit.org/show_bug.cgi?id=125347
+
+        Reviewed by Anders Carlsson.
+
+        * Scripts/webkitpy/style/checkers/cpp.py:
+        (check_member_initialization_list):
+        * Scripts/webkitpy/style/checkers/cpp_unittest.py:
+        (WebKitStyleTest.test_member_initialization_list):
+
 2013-12-06  Lukasz Gajowy  <[email protected]>
 
         [ATK] Missing aria roles mappings

Modified: trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py (160221 => 160222)


--- trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py	2013-12-06 14:54:06 UTC (rev 160221)
+++ trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py	2013-12-06 17:18:32 UTC (rev 160222)
@@ -2008,7 +2008,7 @@
                         'Wrong number of spaces before statement. (expected: %d)' % len(inner_indentation))
                 if search(r'\S\s*,', line):
                     error(line_number, 'whitespace/init', 4,
-                        'Comma should be at the beggining of the line in a member initialization list.')
+                        'Comma should be at the beginning of the line in a member initialization list.')
 
             # To avoid infinite loop, if can't find the end of member initialization list
             if line_number < len(raw) - 1:

Modified: trunk/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py (160221 => 160222)


--- trunk/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py	2013-12-06 14:54:06 UTC (rev 160221)
+++ trunk/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py	2013-12-06 17:18:32 UTC (rev 160222)
@@ -4913,7 +4913,7 @@
         { }''',
         ['Should be indented on a separate line, with the colon or comma first on that line.'
          '  [whitespace/indent] [4]',
-         'Comma should be at the beggining of the line in a member initialization list.'
+         'Comma should be at the beginning of the line in a member initialization list.'
          '  [whitespace/init] [4]'])
         self.assert_multi_line_lint('''\
         MyClass::MyClass(Document* doc) :MySuperClass()
@@ -4949,7 +4949,7 @@
         MyClass::MyClass(Document* doc)
             : MySuperClass() , m_doc(0)
         { }''',
-        'Comma should be at the beggining of the line in a member initialization list.'
+        'Comma should be at the beginning of the line in a member initialization list.'
         '  [whitespace/init] [4]')
         self.assert_multi_line_lint('''\
         class MyClass : public Goo {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to