workaround trouble from fix to #7845 with line endings

for any individuals who happen to check out test/lineedit.jl with a poorly
configured windows git, or make changes to the file in an antique editor
Merge pull request #7937 from tkelman/crlf-test-fix

workaround trouble from fix to #7845 with line endings