What it does
A tool reads a file with a tolerant split, rejoins it with a literal "\n", writes it back to the same path, and verifies the write with a count that also splits tolerantly, so the one change it made to every line is the one thing its own verification...
How it helps you
Tools keep your files' line endings, so no accidental changes reach your code.
Tested against itself
3 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Code quality |
|---|---|
| Also filed under | Test quality |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| Breaks caught | 3 |