test/compatibility/short-line.tst
changeset 81 dd8f07bc9c0d
parent 2 cbd63f7ba40f
     1.1 --- a/test/compatibility/short-line.tst	Wed Jan 25 19:33:43 2012 +0000
     1.2 +++ b/test/compatibility/short-line.tst	Thu Sep 05 22:40:10 2013 +0100
     1.3 @@ -1,15 +1,37 @@
     1.4  **************** INPUT ****************
     1.5  The second line of a paragraph isn't usually short at all
     1.6 -and
     1.7 -should be flagged as a warning by gutcheck as long as there
     1.8 -are sufficient numbers of lines in the file to stop it deciding
     1.9 -that there are too many short lines to bother reporting, which
    1.10 -means that I have to waffle on until we have at least 10 lines
    1.11 -of text.
    1.12 +and should be flagged as a warning by gutcheck as long
    1.13 +as there are sufficient numbers of lines in the file to
    1.14 +stop it deciding that there are too many short lines to bother
    1.15 +reporting, which means that I have to waffle on until we have
    1.16 +at least 10 lines of text.
    1.17  
    1.18  The last line of a paragraph, however many lines it contains,
    1.19  is usually short.
    1.20 +
    1.21 +Even the last line of a paragraph shouldn't consist of only a single
    1.22 +character, since that tends to indicate that the line wrapping may
    1.23 +be fault
    1.24 +y
    1.25 +
    1.26 +Contrawise, digits and characters which might be roman numbers are fine:
    1.27 +
    1.28 +2
    1.29 +
    1.30 +9
    1.31 +
    1.32 +I
    1.33 +
    1.34 +V
    1.35 +
    1.36 +X
    1.37 +
    1.38 +L
    1.39 +
    1.40  **************** EXPECTED ****************
    1.41  
    1.42 -and
    1.43 -    Line 2 column 3 - Short line 3?
    1.44 +and should be flagged as a warning by gutcheck as long
    1.45 +    Line 2 column 54 - Short line 54?
    1.46 +
    1.47 +y
    1.48 +    Line 14 column 1 - Query single character line