Closed Pike closed 2 years ago
Could you introduce "valid" lines as separators?
Not sure if that makes the problem easier. We'd need to flag the file as binary with git attributes, and it'd reduce the number of editors that can actually edit the file. I'm already at the point where vscode doesn't work, and I tweak with vi and python byte strings.
I'm not particularly fond of this patch, but I also don't have a better idea.
@zbraniecki , any takes on this?
Can't flag anyone for review myself anymore, due to permissions.
@stasm - could you help us with your perspective on that?
I'm not happy with the
cr
test. It lumps all the combinations into the comments production, instead of actually testingcr
handling in the various scenarios.@zbraniecki, @stasm, any comments?
I'm entertaining the idea of splitting the
cr
test into a fixture for each block, but that's also very ad-hoc. Maybe with a trailing comment to explain what the test does and why.