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