| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 6cb158664ee879ec14e997eebdbe1659784fdedd..06c92efa89f1cdef939cd6818d8f0ee615b9042e 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -63,7 +63,7 @@ def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api):
|
| source_extensions = r'\.(cc|cpp|cxx|mm)$'
|
| file_inclusion_pattern = r'.+%s' % source_extensions
|
| file_exclusion_patterns = (
|
| - r'.*/(test_|mock_).+%s' % source_extensions,
|
| + r'.*[/\\](test_|mock_).+%s' % source_extensions,
|
| r'.+_test_(support|base)%s' % source_extensions,
|
| r'.+_(api|browser|perf|unit|ui)?test%s' % source_extensions,
|
| r'.+profile_sync_service_harness%s' % source_extensions,
|
|
|