test/bookloupe/long-line.tst
changeset 72 52d4a7f926b4
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/bookloupe/long-line.tst	Thu May 30 18:33:44 2013 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +**************** INPUT ****************
     1.5 +Lines up to seventy five columns should be acceptable and shouldn't trigger
     1.6 +any kind of warning. At seventy six columns, however, one warning is issued.
     1.7 +
     1.8 +Les élèves ont mangés leur petit déjeuner avant le commencement de l'école.
     1.9 +Les pains au chocolat et les petit brioches sont le choix le plus délicieux.
    1.10 +
    1.11 +Unfortunately, with two long lines, we need to drivel on for at least
    1.12 +twenty lines so that more than ninety per cent of the text consists of
    1.13 +non-long lines so that the warnings are not switched off in a misguided
    1.14 +attempt at being helpful.
    1.15 +
    1.16 +“I love to sail the briny deep!
    1.17 +  The briny deep for me!
    1.18 +I love to watch the sunlit waves
    1.19 +  That brighten up the sea!
    1.20 +I love to listen to the wind
    1.21 +  That fills the snowy sails!
    1.22 +I love to roam around the deck----”
    1.23 +
    1.24 +  “And eat the fishes’ tails!”
    1.25 +**************** WARNINGS ****************
    1.26 +<expected>
    1.27 +  <error>
    1.28 +    <at line="2" column="76"/>
    1.29 +    <text>Long line 76</text>
    1.30 +  </error>
    1.31 +  <error>
    1.32 +    <at line="5" column="76"/>
    1.33 +    <text>Long line 76</text>
    1.34 +  </error>
    1.35 +  <false-positive>
    1.36 +    <at line="5" column="9"/>
    1.37 +    <at line="5" column="10"/>
    1.38 +    <text>Query word au - not reporting duplicates</text>
    1.39 +  </false-positive>
    1.40 +</expected>