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