Improve coverage of spaced doublequotes testcase
authorali <ali@juiblex.co.uk>
Thu Feb 02 23:32:12 2012 +0000 (2012-02-02)
changeset 167294f2bea92d
parent 15 c4b472e1fc9a
child 17 2c88fd553e5d
Improve coverage of spaced doublequotes testcase
test/compatibility/spaced-doublequote.tst
     1.1 --- a/test/compatibility/spaced-doublequote.tst	Thu Feb 02 09:06:37 2012 +0000
     1.2 +++ b/test/compatibility/spaced-doublequote.tst	Thu Feb 02 23:32:12 2012 +0000
     1.3 @@ -1,9 +1,34 @@
     1.4  **************** INPUT ****************
     1.5 -Margaret said: " Now you should start for school."
     1.6 +"Now you should start for school, " Margaret said.
     1.7 +
     1.8 +"In a moment," Peter replied," I'm just coming."
     1.9 +
    1.10 +Peter $"rried downstairs.
    1.11 +
    1.12 +"Come on,"shouted Jane.
    1.13 +
    1.14 +"Alright," said Peter, "Keep your hair on.
    1.15 +" He looked down as he came round the corner.
    1.16 +"Where's my coat? "
    1.17  **************** EXPECTED ****************
    1.18  
    1.19 -Margaret said: " Now you should start for school."
    1.20 -    Line 1 column 16 - Wrongspaced quotes?
    1.21 +"Now you should start for school, " Margaret said.
    1.22 +    Line 1 column 34 - Spaced doublequote?
    1.23  
    1.24 -Margaret said: " Now you should start for school."
    1.25 -    Line 1 column 15 - Spaced doublequote?
    1.26 +"In a moment," Peter replied," I'm just coming."
    1.27 +    Line 3 column 30 - Wrongspaced quotes?
    1.28 +
    1.29 +Peter $"rried downstairs.
    1.30 +    Line 5 column 8 - Unspaced quotes?
    1.31 +
    1.32 +"Come on,"shouted Jane.
    1.33 +    Line 7 column 10 - Unspaced quotes?
    1.34 +
    1.35 +"Come on,"shouted Jane.
    1.36 +    Line 7 column 10 - Wrongspaced quotes?
    1.37 +
    1.38 +" He looked down as he came round the corner.
    1.39 +    Line 10 column 1 - Wrongspaced quotes?
    1.40 +
    1.41 +"Where's my coat? "
    1.42 +    Line 11 column 19 - Spaced quote?