Fixup #9614: make config file extraction from help text more robust (#9667)
* Fixup #9614: make config file extraction from help text more robust
The previous test (PR #9614) did not work when the config file was
absent, because then the help text would add one more line at the
end (see issue #535).
The new test looks for the exact line printed before the line with the
config file.
We test both scenarios, with config file present or absent.
* Trim lines before searching the marker to work around CRLF issues.
---------
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
03d7b42a
No related branches found
No related tags found
Checking pipeline status