| Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/text_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/text_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/text_unittest.py
|
| index d4c1aaa4eb9c035e60412b91eaa0579f73cf864a..a9b94336fea9b0aca24a774406b8fb6df8ac08b2 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/text_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/text_unittest.py
|
| @@ -33,6 +33,7 @@ import unittest
|
| import text as text_style
|
| from text import TextChecker
|
|
|
| +
|
| class TextStyleTestCase(unittest.TestCase):
|
| """TestCase for text_style.py"""
|
|
|
| @@ -60,13 +61,11 @@ class TextStyleTestCase(unittest.TestCase):
|
| text_style.process_file_data('', lines, error_for_test)
|
| self.assertTrue(self.had_error, '%s should have an error [whitespace/tab].' % lines)
|
|
|
| -
|
| def test_no_error(self):
|
| """Tests for no error cases."""
|
| self.assertNoError([''])
|
| self.assertNoError(['abc def', 'ggg'])
|
|
|
| -
|
| def test_error(self):
|
| """Tests for error cases."""
|
| self.assertError(['2009-12-16\tKent Tamura\t<tkent@chromium.org>'], 1)
|
|
|