test/compatibility/before-comma.tst
author ali <ali@juiblex.co.uk>
Tue Sep 24 06:44:58 2013 +0100 (2013-09-24)
changeset 95 d13e2582c2b5
permissions -rw-r--r--
Fix bug #5: Cannot install on a Mac
ali@30
     1
**************** INPUT ****************
ali@30
     2
Certain words shouldn't be followed by commas and so we check for them.
ali@30
     3
ali@30
     4
"Hurrah! that's, the way to do it!"
ali@30
     5
ali@30
     6
"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
ali@30
     7
merrily.
ali@30
     8
ali@30
     9
"Come now, it's, time we tied the, score."
ali@30
    10
ali@30
    11
The regular season for baseball was at an, end, and the youths had fixed
ali@30
    12
up their, nines to suit themselves.
ali@30
    13
ali@30
    14
But before the youngest Rover could reach the sphere down it
ali@30
    15
came--straight on the fancy straw hat of a dudish youth, crushing the
ali@30
    16
article over its, wearer's head.
ali@30
    17
ali@30
    18
"I knocked the ball--but I didn't aim for your, hat," answered Tom.
ali@30
    19
ali@30
    20
To my, old readers the lads who have thus far taken a part in this story
ali@30
    21
will need no special introduction.
ali@30
    22
ali@30
    23
"It is a fine place, located in one of our, middle-western states."
ali@30
    24
ali@30
    25
They also had with them their former school chum, William Philander
ali@30
    26
Tubbs, a student whose, entire spare time was spent in buying things to
ali@30
    27
wear of the latest fashions, and in seeking the society of his young
ali@30
    28
lady friends.
ali@30
    29
ali@30
    30
Several days passed and during, that time the lads amused themselves
ali@30
    31
hugely, hunting, fishing, swimming and knocking around generally.
ali@30
    32
ali@30
    33
From among, the trees three large Roman candles were sending their balls
ali@30
    34
of various colors high into the air.
ali@30
    35
ali@30
    36
Another gasolene launch was coming up, dragging behind it nearly every,
ali@30
    37
rowboat Brill possessed.
ali@30
    38
ali@30
    39
Specimens taken in February show yellow feathers coming in on the head,
ali@30
    40
and progressive changes toward, maturity continue all through the spring
ali@30
    41
months until, by summer, the yellow head is fully acquired.
ali@30
    42
ali@30
    43
He was only 3 ft, from the stone. The observer was absent from 12 noon to
ali@30
    44
2:33 pm. and from 3:30 pm, to 3:45 pm.
ali@30
    45
ali@30
    46
It weighed 2.4 lbs. the first morning, 1.9 lbs. the second, and only 1.4
ali@30
    47
lbs, on the third. Correspondingly, the following morning, he had lost one
ali@30
    48
lb, in weight.
ali@30
    49
ali@30
    50
There are six replies to Coues' query printed in The Nidologist (vol. 4,
ali@30
    51
pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
ali@30
    52
ali@30
    53
I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
ali@30
    54
for me.
ali@30
    55
ali@30
    56
1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
ali@30
    57
ali@30
    58
I hold Acme ltd, responsible for everything that happened.
ali@30
    59
ali@30
    60
**************** EXPECTED ****************
ali@30
    61
ali@30
    62
"Hurrah! that's, the way to do it!"
ali@30
    63
    Line 3 column 16 - Query punctuation after that's?
ali@30
    64
ali@30
    65
"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
ali@30
    66
    Line 5 column 12 - Query punctuation after a?
ali@30
    67
ali@30
    68
"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
ali@30
    69
    Line 5 column 41 - Query punctuation after let?
ali@30
    70
ali@30
    71
"Come now, it's, time we tied the, score."
ali@30
    72
    Line 8 column 16 - Query punctuation after it's?
ali@30
    73
ali@30
    74
"Come now, it's, time we tied the, score."
ali@30
    75
    Line 8 column 34 - Query punctuation after the?
ali@30
    76
ali@30
    77
The regular season for baseball was at an, end, and the youths had fixed
ali@30
    78
    Line 10 column 42 - Query punctuation after an?
ali@30
    79
ali@30
    80
up their, nines to suit themselves.
ali@30
    81
    Line 11 column 9 - Query punctuation after their?
ali@30
    82
ali@30
    83
article over its, wearer's head.
ali@30
    84
    Line 15 column 17 - Query punctuation after its?
ali@30
    85
ali@30
    86
"I knocked the ball--but I didn't aim for your, hat," answered Tom.
ali@30
    87
    Line 17 column 47 - Query punctuation after your?
ali@30
    88
ali@30
    89
To my, old readers the lads who have thus far taken a part in this story
ali@30
    90
    Line 19 column 6 - Query punctuation after my?
ali@30
    91
ali@30
    92
"It is a fine place, located in one of our, middle-western states."
ali@30
    93
    Line 22 column 43 - Query punctuation after our?
ali@30
    94
ali@30
    95
Tubbs, a student whose, entire spare time was spent in buying things to
ali@30
    96
    Line 25 column 23 - Query punctuation after whose?
ali@30
    97
ali@30
    98
Several days passed and during, that time the lads amused themselves
ali@30
    99
    Line 29 column 31 - Query punctuation after during?
ali@30
   100
ali@30
   101
From among, the trees three large Roman candles were sending their balls
ali@30
   102
    Line 32 column 11 - Query punctuation after among?
ali@30
   103
ali@30
   104
Another gasolene launch was coming up, dragging behind it nearly every,
ali@30
   105
    Line 35 column 71 - Query punctuation after every?
ali@30
   106
ali@30
   107
and progressive changes toward, maturity continue all through the spring
ali@30
   108
    Line 39 column 31 - Query punctuation after toward?
ali@30
   109
ali@30
   110
He was only 3 ft, from the stone. The observer was absent from 12 noon to
ali@30
   111
    Line 42 column 17 - Query punctuation after ft?
ali@30
   112
ali@30
   113
2:33 pm. and from 3:30 pm, to 3:45 pm.
ali@30
   114
    Line 43 column 26 - Query punctuation after pm?
ali@30
   115
ali@30
   116
lbs, on the third. Correspondingly, the following morning, he had lost one
ali@30
   117
    Line 46 column 4 - Query punctuation after lbs?
ali@30
   118
ali@30
   119
lb, in weight.
ali@30
   120
    Line 47 column 3 - Query punctuation after lb?
ali@30
   121
ali@30
   122
pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
ali@30
   123
    Line 50 column 3 - Query punctuation after pp?
ali@30
   124
ali@30
   125
pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
ali@30
   126
    Line 50 column 16 - Query punctuation after cf?
ali@30
   127
ali@30
   128
I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
ali@30
   129
    Line 52 column 21 - Query punctuation after jr?
ali@30
   130
ali@30
   131
I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
ali@30
   132
    Line 52 column 63 - Query punctuation after sr?
ali@30
   133
ali@30
   134
1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
ali@30
   135
    Line 55 column 16 - Query punctuation after vs?
ali@30
   136
ali@30
   137
I hold Acme ltd, responsible for everything that happened.
ali@30
   138
    Line 57 column 16 - Query punctuation after ltd?