test/bookloupe/curved-quotes.tst
author ali <ali@juiblex.co.uk>
Wed Oct 02 23:51:18 2013 +0100 (2013-10-02)
changeset 94 466f43a12118
child 99 783eff3047bc
permissions -rw-r--r--
Fix bug #11: Test for balanced "slanted" UTF-8 quotation marks 8220/8221
     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 **************** WARNINGS ****************
    23 <expected>
    24   <error>
    25     <at line="12" column="22"/>
    26     <text>Closing quotation mark with no matching open?</text>
    27   </error>
    28   <error>
    29     <at line="15"/>
    30     <text>Mismatched quotes</text>
    31   </error>
    32   <error>
    33     <at line="16" column="67"/>
    34     <text>Closing quotation mark with no matching open?</text>
    35   </error>
    36   <error>
    37     <at line="19"/>
    38     <text>Mismatched quotes</text>
    39   </error>
    40   <error>
    41     <at line="21"/>
    42     <text>Mismatched quotes</text>
    43   </error>
    44   <false-positive>
    45     <at line="14" column="37"/>
    46     <text>Wrongspaced quotes?</text>
    47   </false-positive>
    48 </expected>