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