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