test/bookloupe/curved-quotes.tst
author ali <ali@juiblex.co.uk>
Sat Oct 05 21:37:31 2013 +0100 (2013-10-05)
changeset 99 783eff3047bc
parent 94 466f43a12118
permissions -rw-r--r--
Fix bug #21: False positive: Opening slanted double-quote, followed by single slanted quote, should be accepted by BL
ali@94
     1
**************** INPUT ****************
ali@94
     2
When Tom had made fast his motorboat, he went to the rowing craft to
ali@94
     3
see if it was in good condition. He saw a piece of paper on one of the
ali@94
     4
seats, held down by a little stone. Picking it up he read:
ali@94
     5
ali@94
     6
     “Many thanks for the use of your boat. I had a fine row, and
ali@94
     7
     I feel better, though I’m as much up a tree as ever. I hope
ali@94
     8
     to see you again, sometime. If ever you are near Elmwood Hall,
ali@94
     9
     look me up.
ali@94
    10
ali@94
    11
     “BRUCE BENNINGTON.”
ali@94
    12
ali@94
    13
That was nice of him,” remarked Will, as Tom showed him the note.
ali@94
    14
ali@94
    15
“And he didn’t damage your boat any," spoke Dick.
ali@94
    16
ali@94
    17
"No, he knows how to handle ’em--he rows on the Elmwood Hall crew,” said
ali@94
    18
Tom. “Well, so long, fellows. I’m going for a long run to-morrow, if
ali@94
    19
you’d like to come.”
ali@94
    20
ali@94
    21
“Sure! they chorused.
ali@99
    22
ali@99
    23
* * *
ali@99
    24
ali@99
    25
“‘Think I want to lug a bear two mile into camp?’ says he. ‘No, sir, I
ali@99
    26
lured this here bear in so’s I could kill him handy to where I wanted
ali@99
    27
him. I jest figgered to make him carry himself into camp,’ says he.”
ali@99
    28
ali@99
    29
The widow shook her head. “’Tain’t nothin’ but a memento no more. Husbands
ali@99
    30
is all right, but enough’s enough. Let me make you acquainted with Miss
ali@99
    31
Ducharme, Mr. Ashe.”
ali@94
    32
**************** WARNINGS ****************
ali@94
    33
<expected>
ali@94
    34
  <error>
ali@94
    35
    <at line="12" column="22"/>
ali@94
    36
    <text>Closing quotation mark with no matching open?</text>
ali@94
    37
  </error>
ali@94
    38
  <error>
ali@94
    39
    <at line="15"/>
ali@94
    40
    <text>Mismatched quotes</text>
ali@94
    41
  </error>
ali@94
    42
  <error>
ali@94
    43
    <at line="16" column="67"/>
ali@94
    44
    <text>Closing quotation mark with no matching open?</text>
ali@94
    45
  </error>
ali@94
    46
  <error>
ali@94
    47
    <at line="19"/>
ali@94
    48
    <text>Mismatched quotes</text>
ali@94
    49
  </error>
ali@94
    50
  <error>
ali@94
    51
    <at line="21"/>
ali@94
    52
    <text>Mismatched quotes</text>
ali@94
    53
  </error>
ali@94
    54
  <false-positive>
ali@94
    55
    <at line="14" column="37"/>
ali@94
    56
    <text>Wrongspaced quotes?</text>
ali@94
    57
  </false-positive>
ali@94
    58
</expected>