Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 1fbdf2392a2dde1f0b4e33191b2aac9744f43c83..9b86bad90cb7e261dc50ea97a5c6379801b9f525 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -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: |