Commit a5799e3b authored by Edward Lemur's avatar Edward Lemur Committed by LUCI CQ

presubmit_support: Use single quotes and convert to ArgumentParser.

Change-Id: I54f0fe3a2257166cba2a69659e5128e4ac9310bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2001707Reviewed-by: 's avatarAnthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent 05b001c2
This diff is collapsed.
...@@ -897,8 +897,7 @@ def CheckChangeOnCommit(input_api, output_api): ...@@ -897,8 +897,7 @@ def CheckChangeOnCommit(input_api, output_api):
self.assertEqual( self.assertEqual(
sys.stderr.getvalue(), sys.stderr.getvalue(),
'Usage: presubmit_unittest.py [options] <files...>\n' 'usage: presubmit_unittest.py [options] <files...>\n'
'\n'
'presubmit_unittest.py: error: For unversioned directory, <files> is ' 'presubmit_unittest.py: error: For unversioned directory, <files> is '
'not optional.\n') 'not optional.\n')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment