Skip to content

Fix Windows CI: normalize CRLF in printer tests from #8881 and #8886 - #8900

Merged
samsonasik merged 1 commit into
rectorphp:mainfrom
ondrejmirtes:fix-windows-line-endings-tests
Oct 31, 2026
Merged

samsonasik merged 1 commit into
rectorphp:mainfrom
ondrejmirtes:fix-windows-line-endings-tests

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Contributor

On Windows, Git checks out the test files with CRLF, so the heredoc input contains \r\n. Format-preserving printing correctly keeps those line endings, so the output is normalized before comparing with LF-only expectations.

rectorphp#8886

On Windows, Git checks out the test files with CRLF, so the heredoc input
contains \r\n. Format-preserving printing correctly keeps those line endings,
so the output is normalized before comparing with LF-only expectations.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1908f-48b6-7423-b4cd-641c531e141f
@samsonasik
samsonasik merged commit d11c325 into rectorphp:main Oct 31, 2026
51 checks passed
@samsonasik

Copy link
Copy Markdown
Member

Thank you @ondrejmirtes , let's give it a try 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants