| Index: tests/presubmit_unittest.py
|
| diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
|
| index 3a934ea71155e48b1502e3213ffce6716baf053d..7e7c170e29d869d8c6aa518885e9aa4b8c0b848d 100755
|
| --- a/tests/presubmit_unittest.py
|
| +++ b/tests/presubmit_unittest.py
|
| @@ -1834,6 +1834,11 @@ class CannedChecksUnittest(PresubmitTestsBase):
|
| 'importSomething ' + 'A ' * 50, 'foo.java',
|
| presubmit.OutputApi.PresubmitPromptWarning)
|
|
|
| + def testCannedCheckMakefileLongLines(self):
|
| + check = lambda x, y, _: presubmit_canned_checks.CheckLongLines(x, y)
|
| + self.ContentTest(check, 'A ' * 100, 'foo.mk', 'A ' * 100 + 'B', 'foo.mk',
|
| + presubmit.OutputApi.PresubmitPromptWarning)
|
| +
|
| def testCannedCheckLongLinesLF(self):
|
| check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
| self.ContentTest(check, '012345678\n', None, '0123456789\n', None,
|
|
|