| Index: tests/presubmit_unittest.py
|
| diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
|
| index d6cbd09ae9a84edf1f7a1c1e89837d8b9caf2241..2196d8d638fc642bb462da83e8be27a76ab456d4 100755
|
| --- a/tests/presubmit_unittest.py
|
| +++ b/tests/presubmit_unittest.py
|
| @@ -2205,20 +2205,20 @@ class CannedChecksUnittest(PresubmitTestsBase):
|
| check = lambda x, y, z: presubmit_canned_checks.CheckLongLines(x, y, 10, z)
|
| self.ContentTest(
|
| check,
|
| - ' http:// 0 23 5',
|
| - None,
|
| ' http:// 0 23 56',
|
| None,
|
| + ' foob:// 0 23 56',
|
| + 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,
|
| + ' foob:// 0 23 56',
|
| + None,
|
| presubmit.OutputApi.PresubmitPromptWarning)
|
|
|
| def testCannedCheckLongLinesCssUrl(self):
|
|
|