From 67e0c6fcc974b89c408af988ecfc98d2ef892e1b Mon Sep 17 00:00:00 2001 From: Shahbaz Youssefi Date: Thu, 11 Aug 2022 22:10:36 -0400 Subject: [PATCH] PRESUBMIT: Remove unnecessary escape of forward slash Bug: angleproject:7279 Change-Id: Icf9482fb83c60640d5af6380674b9d857aa9ff0b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3828443 Reviewed-by: Roman Lavrov Auto-Submit: Shahbaz Youssefi Commit-Queue: Roman Lavrov --- PRESUBMIT.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 2794702d0..21c622982 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -395,7 +395,7 @@ def _CheckCommentBeforeTestInTestFiles(input_api, output_api): def test_files(f): return input_api.FilterSourceFile( - f, files_to_check=(r'^src\/tests\/.+\.cpp$', r'^src\/.+_unittest\.cpp$')) + f, files_to_check=(r'^src/tests/.+\.cpp$', r'^src/.+_unittest\.cpp$')) tests_with_no_comment = [] for f in input_api.AffectedSourceFiles(test_files): @@ -432,8 +432,7 @@ def _CheckShaderVersionInShaderLangHeader(input_api, output_api): def headers(f): return input_api.FilterSourceFile( f, - files_to_check=(r'^include\/GLSLANG\/ShaderLang.h$', - r'^include\/GLSLANG\/ShaderVars.h$')) + files_to_check=(r'^include/GLSLANG/ShaderLang.h$', r'^include/GLSLANG/ShaderVars.h$')) headers_changed = input_api.AffectedSourceFiles(headers) if len(headers_changed) == 0: