test/compatibility/single-quotes.tst
author ali <ali@juiblex.co.uk>
Sat Oct 26 18:47:33 2013 +0100 (2013-10-26)
changeset 101 f44c530f80da
permissions -rw-r--r--
Fix bug #24: Accept alternate form of newline
ali@18
     1
**************** OPTIONS ****************
ali@18
     2
-s
ali@18
     3
**************** INPUT ****************
ali@18
     4
'Now you should start for school, ' Margaret said.
ali@18
     5
ali@18
     6
'In a moment,' Peter replied,' I'm just coming.'
ali@18
     7
ali@18
     8
'Come on,'shouted Jane.
ali@18
     9
ali@18
    10
'Alright,' said Peter, 'Keep your hair on.
ali@18
    11
' He looked down as he came round the corner.
ali@18
    12
'Where's my coat? '
ali@18
    13
ali@18
    14
'Underneath the girls' scarves.' said his mother.
ali@18
    15
**************** WARNINGS ****************
ali@18
    16
<expected>
ali@18
    17
  <error>
ali@18
    18
    <at line="1" column="34"/>
ali@18
    19
    <text>Spaced singlequote?</text>
ali@18
    20
  </error>
ali@18
    21
  <error>
ali@18
    22
    <at line="3" column="30"/>
ali@18
    23
    <text>Wrongspaced singlequotes?</text>
ali@18
    24
  </error>
ali@18
    25
  <false-positive>
ali@18
    26
    <at line="4"/>
ali@18
    27
    <text>Mismatched singlequotes?</text>
ali@18
    28
  </false-positive>
ali@18
    29
  <error>
ali@18
    30
    <at line="5" column="10"/>
ali@18
    31
    <text>Wrongspaced singlequotes?</text>
ali@18
    32
  </error>
ali@18
    33
  <false-positive>
ali@18
    34
    <at line="6"/>
ali@18
    35
    <text>Mismatched singlequotes?</text>
ali@18
    36
  </false-positive>
ali@18
    37
  <error>
ali@18
    38
    <at line="8" column="1"/>
ali@18
    39
    <text>Spaced quote?</text>
ali@18
    40
  </error>
ali@18
    41
  <error>
ali@18
    42
    <at line="9" column="19"/>
ali@18
    43
    <text>Spaced quote?</text>
ali@18
    44
  </error>
ali@18
    45
  <false-positive>
ali@18
    46
    <at line="10"/>
ali@18
    47
    <text>Mismatched singlequotes?</text>
ali@18
    48
  </false-positive>
ali@18
    49
  <false-positive>
ali@18
    50
    <at line="11" column="32"/>
ali@18
    51
    <text>Wrongspaced singlequotes?</text>
ali@18
    52
  </false-positive>
ali@18
    53
</expected>