Fix failing spec for lines missing newline