diff --git a/scripts/tests/test_pr_changed_files.py b/scripts/tests/test_pr_changed_files.py index 080fa3de2..30272b476 100644 --- a/scripts/tests/test_pr_changed_files.py +++ b/scripts/tests/test_pr_changed_files.py @@ -2849,8 +2849,8 @@ def _fold_continuations(lines): NO `rstrip()`, for the same reason. A backslash followed by trailing whitespace is not a continuation to bash — the backslash escapes the SPACE — and tolerating it was the one route by - which this fold could DESTROY a `jq` token rather than fabricate one: `ok=y\\` plus invisible - trailing spaces, then a dedented `jq -e ...`, folds to `okyjq -e`, and `\\bjq\\b` finds no word + which this fold could DESTROY a `jq` token rather than fabricate one: `ok=y\` plus invisible + trailing spaces, then a dedented `jq -e ...`, folds to `okyjq -e`, and `\bjq\b` finds no word boundary after the `y`. Every other divergence here over-joins, which can only ever cost a false positive. Matching the shell exactly is both simpler and the only direction that cannot lose a `jq`.