| Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
|
| index 46b7d9b3755aa58165f3fe5d7e80c99ad4224ddd..e2390d0b052b018498a13c6c0b7019c48f3f13fc 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
|
| @@ -57,7 +57,8 @@ class ErrorCollector:
|
|
|
| def __init__(self, assert_fn, filter=None, lines_to_check=None):
|
| """assert_fn: a function to call when we notice a problem.
|
| - filter: filters the errors that we are concerned about."""
|
| + filter: filters the errors that we are concerned about.
|
| + """
|
| self._assert_fn = assert_fn
|
| self._errors = []
|
| self._lines_to_check = lines_to_check
|
| @@ -237,7 +238,6 @@ class CppStyleTestBase(unittest.TestCase):
|
| Attributes:
|
| min_confidence: An integer that is the current minimum confidence
|
| level for the tests.
|
| -
|
| """
|
|
|
| # FIXME: Refactor the unit tests so the confidence level is passed
|
| @@ -362,7 +362,8 @@ class CppStyleTestBase(unittest.TestCase):
|
| """Checks if the two positions are equal.
|
|
|
| position: a cpp_style.Position object.
|
| - tuple_position: a tuple (row, column) to compare against."""
|
| + tuple_position: a tuple (row, column) to compare against.
|
| + """
|
| self.assertEqual(position, cpp_style.Position(tuple_position[0], tuple_position[1]),
|
| 'position %s, tuple_position %s' % (position, tuple_position))
|
|
|
|
|