test/compatibility/long-line.tst
author ali <ali@juiblex.co.uk>
Sun Feb 19 21:08:53 2012 +0000 (2012-02-19)
changeset 31 20c603ca5649
permissions -rw-r--r--
Add testcase for words that shouldn't immediately preceed periods
     1 **************** ENCODING ****************
     2 WINDOWS-1252
     3 **************** INPUT ****************
     4 Lines up to seventy five columns should be acceptable and shouldn't trigger
     5 any kind of warning. At seventy six columns, however, one warning is issued.
     6 
     7 Les élèves ont mangés leur petit déjeuner avant le commencement de l'école.
     8 Les pains au chocolat et les petit brioches sont le choix le plus délicieux.
     9 
    10 Unfortunately, with two long lines, we need to drivel on for at least
    11 twenty lines so that more than ninety per cent of the text consists of
    12 non-long lines so that the warnings are not switched off in a misguided
    13 attempt at being helpful.
    14 
    15 “I love to sail the briny deep!
    16   The briny deep for me!
    17 I love to watch the sunlit waves
    18   That brighten up the sea!
    19 I love to listen to the wind
    20   That fills the snowy sails!
    21 I love to roam around the deck----”
    22 
    23   “And eat the fishes’ tails!”
    24 **************** WARNINGS ****************
    25 <expected>
    26   <error>
    27     <at line="2" column="76"/>
    28     <text>Long line 76</text>
    29   </error>
    30   <error>
    31     <at line="5" column="76"/>
    32     <text>Long line 76</text>
    33   </error>
    34   <false-positive>
    35     <at line="5" column="9"/>
    36     <at line="5" column="10"/>
    37     <text>Query word au - not reporting duplicates</text>
    38   </false-positive>
    39 </expected>