test/compatibility/single-quotes.tst
author ali <ali@juiblex.co.uk>
Mon Feb 06 23:55:48 2012 +0000 (2012-02-06)
changeset 18 6faf1a95a207
permissions -rw-r--r--
Add testcases for single quotes
     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>