presubmit - don't check test functions for wstring
BUG=none TEST=none Review URL: http://codereview.chromium.org/7969020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102438 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@ -115,7 +115,8 @@ def _CheckNoNewWStrings(input_api, output_api):
|
||||
errors = []
|
||||
for f in input_api.AffectedFiles():
|
||||
for line_num, line in f.ChangedContents():
|
||||
if not f.LocalPath().endswith(('.cc', '.h')):
|
||||
if (not f.LocalPath().endswith(('.cc', '.h')) or
|
||||
f.LocalPath().endswith('test.cc')):
|
||||
continue
|
||||
|
||||
if 'wstring' in line:
|
||||
|
Reference in New Issue
Block a user