test/compatibility/example.tst
author ali <ali@juiblex.co.uk>
Wed Oct 02 23:51:18 2013 +0100 (2013-10-02)
changeset 94 466f43a12118
parent 0 c2f4c0285180
permissions -rw-r--r--
Fix bug #11: Test for balanced "slanted" UTF-8 quotation marks 8220/8221
     1 **************** INPUT ****************
     2 They saw him distinctly, as with the naked eye; a word, a turn of
     3 the pen, or a word unsaid, offered the picture of him in America,
     4 Japan, China, Australia , nay, the continent of Europe, holding an
     5 English review of his Maker's grotesques. Vernon seemed a
     6 sheepish fellow, without stature abroad, glad of a compliment
     7 , grateful for a dinner, endeavouring sadly to digest all he saw
     8 and heard. But one was a Patterne; tbe other a Whitford. One had
     9 genius; the other pottered after him to he a student. One was the
    10 English gent1eman wherever he went; the other was a new kind of
    11 thing, nondescript, produced in England of late, and not likely
    12 to come to much good himself, or do much good to the country.
    13 
    14 Vernon's dancing in America was capitally described by Willoughby.
    15 "Adieu to our cousins!" the latter wrote on his voyage to Japan.
    16 "I may possibly have had some vogue in their ball-rooms, and in
    17 showing them an English seat on horseback: 1 must resign myself if
    18 I have not been popular among them. I could not sing their
    19 national song--if a congery of states be a nation-- and I must
    20 confess I listened with frigid politeness to their singing of it.
    21 A great people, no doubt. Adieu to them. I have had to tear old
    22 Vernon away. He had serious thoughts of settling, means to
    23 
    24 correspond with some of them. On the whole, forgetting two or
    25 more "traits of insolence~ on the part of his hosts, which he
    26 cited, Willoughby escaped pretty comfortably. The President had
    27 been, consciously or not,uncivil, but one knew his origin! Upon
    28 these interjections, placable flicks of the lionly tail addressed
    29 to Britannia the Ruler, who expected him in some mildish way to
    30 lash terga cauda in retiring, Sir WilIoughby Patterne passed from
    31 a land of alien manners,; and ever after he spoke of America
    32 respectfully aud pensively, with a tail tucked in, as it were. His
    33 travels were profitable to himself. The fact is, that tbere are
    34 cousins who come to greatness and rnust be pacified, or they will
    35 prove annoying. Heaven forefend a collision between cousins!
    36 
    37 
    38 **************** EXPECTED ****************
    39 
    40 Japan, China, Australia , nay, the continent of Europe, holding an
    41     Line 3 column 25 - Spaced punctuation?
    42 
    43 , grateful for a dinner, endeavouring sadly to digest all he saw
    44     Line 6 column 1 - Begins with punctuation?
    45 
    46 and heard. But one was a Patterne; tbe other a Whitford. One had
    47     Line 7 column 34 - Query word tbe - not reporting duplicates
    48 
    49 genius; the other pottered after him to he a student. One was the
    50     Line 8 column 37 - Query he/be error?
    51 
    52 English gent1eman wherever he went; the other was a new kind of
    53     Line 9 column 8 - Query digit in gent1eman
    54 
    55 showing them an English seat on horseback: 1 must resign myself if
    56     Line 16 column 43 - Query standalone 1
    57 
    58 national song--if a congery of states be a nation-- and I must
    59     Line 18 column 50 - Spaced em-dash?
    60 
    61 Vernon away. He had serious thoughts of settling, means to
    62     Line 21 column 58 - No punctuation at para end?
    63 
    64 Vernon's dancing in America was capitally described by Willoughby.
    65     Line 22 - Mismatched quotes
    66 
    67 correspond with some of them. On the whole, forgetting two or
    68     Line 23 column 1 - Paragraph starts with lower-case
    69 
    70 more "traits of insolence~ on the part of his hosts, which he
    71     Line 24 column 26 - Tilde character?
    72 
    73 been, consciously or not,uncivil, but one knew his origin! Upon
    74     Line 26 column 25 - Missing space?
    75 
    76 lash terga cauda in retiring, Sir WilIoughby Patterne passed from
    77     Line 29 column 34 - Query word WilIoughby - not reporting duplicates
    78 
    79 a land of alien manners,; and ever after he spoke of America
    80     Line 30 column 24 - Double punctuation?
    81 
    82 respectfully aud pensively, with a tail tucked in, as it were. His
    83     Line 31 column 13 - Query word aud - not reporting duplicates
    84 
    85 travels were profitable to himself. The fact is, that tbere are
    86     Line 32 column 54 - Query word tbere - not reporting duplicates
    87 
    88 cousins who come to greatness and rnust be pacified, or they will
    89     Line 33 column 34 - Query word rnust - not reporting duplicates
    90 
    91 correspond with some of them. On the whole, forgetting two or
    92     Line 35 - Mismatched quotes