| Index: tests/presubmit_unittest.py
|
| diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
|
| index 65c521c39aac8306a163ab2c6c6aa0420b684a23..ed38eff430b20f54c01780fbaf83b21cb90f3f9c 100755
|
| --- a/tests/presubmit_unittest.py
|
| +++ b/tests/presubmit_unittest.py
|
| @@ -2263,6 +2263,15 @@ class CannedChecksUnittest(PresubmitTestsBase):
|
| 'foo.cc',
|
| presubmit.OutputApi.PresubmitPromptWarning)
|
|
|
| + def testCannedCheckLongLinesGritInclude(self):
|
| + check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
| + self.ContentTest(
|
| + check,
|
| + '<include src="file.js">',
|
| + 'foo.js',
|
| + 'var include = "this test is stupid";',
|
| + 'bar.js',
|
| + presubmit.OutputApi.PresubmitPromptWarning)
|
|
|
| def testCannedCheckLongLinesLongSymbol(self):
|
| check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
|
|