test/compatibility/single-quotes.tst
changeset 100 ad92d11d59b8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/compatibility/single-quotes.tst	Tue Oct 15 09:16:04 2013 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +**************** OPTIONS ****************
     1.5 +-s
     1.6 +**************** INPUT ****************
     1.7 +'Now you should start for school, ' Margaret said.
     1.8 +
     1.9 +'In a moment,' Peter replied,' I'm just coming.'
    1.10 +
    1.11 +'Come on,'shouted Jane.
    1.12 +
    1.13 +'Alright,' said Peter, 'Keep your hair on.
    1.14 +' He looked down as he came round the corner.
    1.15 +'Where's my coat? '
    1.16 +
    1.17 +'Underneath the girls' scarves.' said his mother.
    1.18 +**************** WARNINGS ****************
    1.19 +<expected>
    1.20 +  <error>
    1.21 +    <at line="1" column="34"/>
    1.22 +    <text>Spaced singlequote?</text>
    1.23 +  </error>
    1.24 +  <error>
    1.25 +    <at line="3" column="30"/>
    1.26 +    <text>Wrongspaced singlequotes?</text>
    1.27 +  </error>
    1.28 +  <false-positive>
    1.29 +    <at line="4"/>
    1.30 +    <text>Mismatched singlequotes?</text>
    1.31 +  </false-positive>
    1.32 +  <error>
    1.33 +    <at line="5" column="10"/>
    1.34 +    <text>Wrongspaced singlequotes?</text>
    1.35 +  </error>
    1.36 +  <false-positive>
    1.37 +    <at line="6"/>
    1.38 +    <text>Mismatched singlequotes?</text>
    1.39 +  </false-positive>
    1.40 +  <error>
    1.41 +    <at line="8" column="1"/>
    1.42 +    <text>Spaced quote?</text>
    1.43 +  </error>
    1.44 +  <error>
    1.45 +    <at line="9" column="19"/>
    1.46 +    <text>Spaced quote?</text>
    1.47 +  </error>
    1.48 +  <false-positive>
    1.49 +    <at line="10"/>
    1.50 +    <text>Mismatched singlequotes?</text>
    1.51 +  </false-positive>
    1.52 +  <false-positive>
    1.53 +    <at line="11" column="32"/>
    1.54 +    <text>Wrongspaced singlequotes?</text>
    1.55 +  </false-positive>
    1.56 +</expected>