Commit Graph

3 Commits

Author SHA1 Message Date
Bastiaan Veelo 2ca0bab22a Retain line ending by default.
If no `--end_of_line` was specified, find the first line ending in the input and use that for the whole output.

All tests include checking for differences in line endings.

Closes #552.
2022-06-02 12:45:32 +02:00
Bastiaan Veelo b8da7c5cd4 Refactor courtesy WebFreak001.
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
2022-05-27 19:47:47 +02:00
Bastiaan Veelo f6d9d04e43 Port `test.sh` to platform independent D.
This executes also way faster by not spawning GNU diff.
2022-05-26 16:10:07 +02:00