test/compatibility/short-line.tst
author ali <ali@juiblex.co.uk>
Sat May 25 19:27:51 2013 +0100 (2013-05-25)
changeset 45 d48f66b0ad0d
parent 2 cbd63f7ba40f
permissions -rw-r--r--
Break check_for_long_line() and check_for_short_line() out
     1 **************** INPUT ****************
     2 The second line of a paragraph isn't usually short at all
     3 and should be flagged as a warning by gutcheck as long
     4 as there are sufficient numbers of lines in the file to
     5 stop it deciding that there are too many short lines to bother
     6 reporting, which means that I have to waffle on until we have
     7 at least 10 lines of text.
     8 
     9 The last line of a paragraph, however many lines it contains,
    10 is usually short.
    11 
    12 Even the last line of a paragraph shouldn't consist of only a single
    13 character, since that tends to indicate that the line wrapping may
    14 be fault
    15 y
    16 
    17 Contrawise, digits and characters which might be roman numbers are fine:
    18 
    19 2
    20 
    21 9
    22 
    23 I
    24 
    25 V
    26 
    27 X
    28 
    29 L
    30 
    31 **************** EXPECTED ****************
    32 
    33 and should be flagged as a warning by gutcheck as long
    34     Line 2 column 54 - Short line 54?
    35 
    36 y
    37     Line 14 column 1 - Query single character line