# HG changeset patch # User ali # Date 1328225532 0 # Node ID 7294f2bea92da4e1de77b296ec92201dc311eb9e # Parent c4b472e1fc9a6f775ff6cac8816579217a0b0db4 Improve coverage of spaced doublequotes testcase diff -r c4b472e1fc9a -r 7294f2bea92d test/compatibility/spaced-doublequote.tst --- a/test/compatibility/spaced-doublequote.tst Thu Feb 02 09:06:37 2012 +0000 +++ b/test/compatibility/spaced-doublequote.tst Thu Feb 02 23:32:12 2012 +0000 @@ -1,9 +1,34 @@ **************** INPUT **************** -Margaret said: " Now you should start for school." +"Now you should start for school, " Margaret said. + +"In a moment," Peter replied," I'm just coming." + +Peter $"rried downstairs. + +"Come on,"shouted Jane. + +"Alright," said Peter, "Keep your hair on. +" He looked down as he came round the corner. +"Where's my coat? " **************** EXPECTED **************** -Margaret said: " Now you should start for school." - Line 1 column 16 - Wrongspaced quotes? +"Now you should start for school, " Margaret said. + Line 1 column 34 - Spaced doublequote? -Margaret said: " Now you should start for school." - Line 1 column 15 - Spaced doublequote? +"In a moment," Peter replied," I'm just coming." + Line 3 column 30 - Wrongspaced quotes? + +Peter $"rried downstairs. + Line 5 column 8 - Unspaced quotes? + +"Come on,"shouted Jane. + Line 7 column 10 - Unspaced quotes? + +"Come on,"shouted Jane. + Line 7 column 10 - Wrongspaced quotes? + +" He looked down as he came round the corner. + Line 10 column 1 - Wrongspaced quotes? + +"Where's my coat? " + Line 11 column 19 - Spaced quote?