| Index: tests/presubmit_unittest.py
|
| diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
|
| index 23304f0cfbb2adf57e7f02183dcb076d4646bc7e..65c521c39aac8306a163ab2c6c6aa0420b684a23 100755
|
| --- a/tests/presubmit_unittest.py
|
| +++ b/tests/presubmit_unittest.py
|
| @@ -2253,6 +2253,16 @@ class CannedChecksUnittest(PresubmitTestsBase):
|
| None,
|
| presubmit.OutputApi.PresubmitPromptWarning)
|
|
|
| + def testCannedCheckLongLinesCssUrl(self):
|
| + check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
| + self.ContentTest(
|
| + check,
|
| + ' url(some.png)',
|
| + 'foo.css',
|
| + ' url(some.png)',
|
| + 'foo.cc',
|
| + presubmit.OutputApi.PresubmitPromptWarning)
|
| +
|
|
|
| def testCannedCheckLongLinesLongSymbol(self):
|
| check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
|
|