Use custom handling when reading text files #1811
|
I would like to use my own handling of line endings when reading text files. I don't feel comfortable fiddling around with the eol settings in the Is there any existing possibility, that I can configure, how text files are read in? Looking at https://github.com/VerifyTests/Verify/blob/main/src/Verify/Compare/Comparer.cs#L14 I don't see an option. |
Replies: 1 comment 5 replies
|
no, there's no hook for that currently, and i'm hesitant to add a general one. the issue is that the received file isn't just a diff artifact. accepting a snapshot is concretely, if verify normalized on the |
FYI https://github.com/VerifyTests/Verify/blob/main/docs/newline-tolerance.md