spatie / phpunit-snapshot-assertions

A way to test without writing actual test cases
https://spatie.be/courses/testing-laravel-with-pest/snapshot-testing
MIT License
642 stars 71 forks source link

Add option to ignore different line breaks #105

Closed derUli closed 3 years ago

derUli commented 4 years ago

Different line breaks are an issue when developers of a project are using different operating systems. It would be good, to have an argumment to ignore/normalize different line breaks (\n vs \r\n) for matching.

freekmurze commented 4 years ago

We'd accept a PR with tests for this

spatie-bot commented 3 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.