| Index: tests/presubmit_unittest.py
|
| diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
|
| index d97e7fa7aa480cf582824f57a8b4a17af058b0d9..474d6fa0071e4fd3828f59d9eb75ede02099fcdd 100755
|
| --- a/tests/presubmit_unittest.py
|
| +++ b/tests/presubmit_unittest.py
|
| @@ -2235,6 +2235,17 @@ class CannedChecksUnittest(PresubmitTestsBase):
|
| None,
|
| presubmit.OutputApi.PresubmitPromptWarning)
|
|
|
| + def testCannedCheckLongLinesFile(self):
|
| + check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
| + self.ContentTest(
|
| + check,
|
| + ' file:// 0 23 5',
|
| + None,
|
| + ' file:// 0 23 56',
|
| + None,
|
| + presubmit.OutputApi.PresubmitPromptWarning)
|
| +
|
| +
|
| def testCannedCheckLongLinesLongSymbol(self):
|
| check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
| self.ContentTest(
|
|
|