test/bookloupe/unix-lineends.tst
author ali <ali@juiblex.co.uk>
Sat Oct 26 18:47:33 2013 +0100 (2013-10-26)
changeset 101 f44c530f80da
permissions -rw-r--r--
Fix bug #24: Accept alternate form of newline
ali@101
     1
**************** NEWLINES ****************
ali@101
     2
LF
ali@101
     3
**************** INPUT ****************
ali@101
     4
Katherine was assailed by a sudden doubt. Had she mailed that letter? Yes,
ali@101
     5
she was certain of that. She had run out to the mail box at ten o'clock
ali@101
     6
at night especially to mail it. What had gone wrong?␍Why wasn't there
ali@101
     7
someone to meet her?
ali@101
     8
**************** WARNINGS ****************
ali@101
     9
<expected>
ali@101
    10
  <summary>
ali@101
    11
    <text>No lines in this file have a CR. Not reporting them. Project Gutenberg requires that all lineends be CR-LF.</text>
ali@101
    12
  </summary>
ali@101
    13
  <error>
ali@101
    14
    <at line="3" column="53"/>
ali@101
    15
    <text>Embedded CR?</text>
ali@101
    16
  </error>
ali@101
    17
</expected>