The default for `doc.getText()` is to use *original* line endings, not necessarily LF. That file currently has LF line endings, but someone could make an edit and change that. Seems like this test is safest to always translate both files to same line endings.