test/compatibility/spaced-doublequote.tst
author ali <ali@juiblex.co.uk>
Sat Oct 05 21:37:31 2013 +0100 (2013-10-05)
changeset 99 783eff3047bc
parent 0 c2f4c0285180
permissions -rw-r--r--
Fix bug #21: False positive: Opening slanted double-quote, followed by single slanted quote, should be accepted by BL
ali@0
     1
**************** INPUT ****************
ali@16
     2
"Now you should start for school, " Margaret said.
ali@16
     3
ali@16
     4
"In a moment," Peter replied," I'm just coming."
ali@16
     5
ali@16
     6
Peter $"rried downstairs.
ali@16
     7
ali@16
     8
"Come on,"shouted Jane.
ali@16
     9
ali@16
    10
"Alright," said Peter, "Keep your hair on.
ali@16
    11
" He looked down as he came round the corner.
ali@16
    12
"Where's my coat? "
ali@0
    13
**************** EXPECTED ****************
ali@0
    14
ali@16
    15
"Now you should start for school, " Margaret said.
ali@16
    16
    Line 1 column 34 - Spaced doublequote?
ali@0
    17
ali@16
    18
"In a moment," Peter replied," I'm just coming."
ali@16
    19
    Line 3 column 30 - Wrongspaced quotes?
ali@16
    20
ali@16
    21
Peter $"rried downstairs.
ali@16
    22
    Line 5 column 8 - Unspaced quotes?
ali@16
    23
ali@16
    24
"Come on,"shouted Jane.
ali@16
    25
    Line 7 column 10 - Unspaced quotes?
ali@16
    26
ali@16
    27
"Come on,"shouted Jane.
ali@16
    28
    Line 7 column 10 - Wrongspaced quotes?
ali@16
    29
ali@16
    30
" He looked down as he came round the corner.
ali@16
    31
    Line 10 column 1 - Wrongspaced quotes?
ali@16
    32
ali@16
    33
"Where's my coat? "
ali@16
    34
    Line 11 column 19 - Spaced quote?