test/compatibility/single-quotes.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
     1 **************** OPTIONS ****************
     2 -s
     3 **************** INPUT ****************
     4 'Now you should start for school, ' Margaret said.
     5 
     6 'In a moment,' Peter replied,' I'm just coming.'
     7 
     8 'Come on,'shouted Jane.
     9 
    10 'Alright,' said Peter, 'Keep your hair on.
    11 ' He looked down as he came round the corner.
    12 'Where's my coat? '
    13 
    14 'Underneath the girls' scarves.' said his mother.
    15 **************** WARNINGS ****************
    16 <expected>
    17   <error>
    18     <at line="1" column="34"/>
    19     <text>Spaced singlequote?</text>
    20   </error>
    21   <error>
    22     <at line="3" column="30"/>
    23     <text>Wrongspaced singlequotes?</text>
    24   </error>
    25   <false-positive>
    26     <at line="4"/>
    27     <text>Mismatched singlequotes?</text>
    28   </false-positive>
    29   <error>
    30     <at line="5" column="10"/>
    31     <text>Wrongspaced singlequotes?</text>
    32   </error>
    33   <false-positive>
    34     <at line="6"/>
    35     <text>Mismatched singlequotes?</text>
    36   </false-positive>
    37   <error>
    38     <at line="8" column="1"/>
    39     <text>Spaced quote?</text>
    40   </error>
    41   <error>
    42     <at line="9" column="19"/>
    43     <text>Spaced quote?</text>
    44   </error>
    45   <false-positive>
    46     <at line="10"/>
    47     <text>Mismatched singlequotes?</text>
    48   </false-positive>
    49   <false-positive>
    50     <at line="11" column="32"/>
    51     <text>Wrongspaced singlequotes?</text>
    52   </false-positive>
    53 </expected>