Closed florianhumblot closed 1 year ago
Hey @florianhumblot , I had exactly the same issue and the test output is super confusing. What fixed it for me was adding final line breaks to all the input files in my editor and regenerating the expected directory:
@richo225 thanks for the hint! I already added line breaks to the end of file, but changing the line endings to LF rather than CRLF seems to have fixed it. Kind of a weird issue to have lol
Hey there, I'm following along the examples in the book and I can't seem to get the tests for catr to pass...
When I use the debugger to get some idea it seems that the test doesn't read the expected outputs correctly:
But if I do a hex-dump of the file contents it seems to be just fine? I tried re-generating the outputs with the script in this repository but that doens't seem to help. Anyone have an idea?
The code is from the tests itself, unmodified: