test/compatibility/before-comma.tst
changeset 95 d13e2582c2b5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/compatibility/before-comma.tst	Tue Sep 24 06:44:58 2013 +0100
     1.3 @@ -0,0 +1,138 @@
     1.4 +**************** INPUT ****************
     1.5 +Certain words shouldn't be followed by commas and so we check for them.
     1.6 +
     1.7 +"Hurrah! that's, the way to do it!"
     1.8 +
     1.9 +"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
    1.10 +merrily.
    1.11 +
    1.12 +"Come now, it's, time we tied the, score."
    1.13 +
    1.14 +The regular season for baseball was at an, end, and the youths had fixed
    1.15 +up their, nines to suit themselves.
    1.16 +
    1.17 +But before the youngest Rover could reach the sphere down it
    1.18 +came--straight on the fancy straw hat of a dudish youth, crushing the
    1.19 +article over its, wearer's head.
    1.20 +
    1.21 +"I knocked the ball--but I didn't aim for your, hat," answered Tom.
    1.22 +
    1.23 +To my, old readers the lads who have thus far taken a part in this story
    1.24 +will need no special introduction.
    1.25 +
    1.26 +"It is a fine place, located in one of our, middle-western states."
    1.27 +
    1.28 +They also had with them their former school chum, William Philander
    1.29 +Tubbs, a student whose, entire spare time was spent in buying things to
    1.30 +wear of the latest fashions, and in seeking the society of his young
    1.31 +lady friends.
    1.32 +
    1.33 +Several days passed and during, that time the lads amused themselves
    1.34 +hugely, hunting, fishing, swimming and knocking around generally.
    1.35 +
    1.36 +From among, the trees three large Roman candles were sending their balls
    1.37 +of various colors high into the air.
    1.38 +
    1.39 +Another gasolene launch was coming up, dragging behind it nearly every,
    1.40 +rowboat Brill possessed.
    1.41 +
    1.42 +Specimens taken in February show yellow feathers coming in on the head,
    1.43 +and progressive changes toward, maturity continue all through the spring
    1.44 +months until, by summer, the yellow head is fully acquired.
    1.45 +
    1.46 +He was only 3 ft, from the stone. The observer was absent from 12 noon to
    1.47 +2:33 pm. and from 3:30 pm, to 3:45 pm.
    1.48 +
    1.49 +It weighed 2.4 lbs. the first morning, 1.9 lbs. the second, and only 1.4
    1.50 +lbs, on the third. Correspondingly, the following morning, he had lost one
    1.51 +lb, in weight.
    1.52 +
    1.53 +There are six replies to Coues' query printed in The Nidologist (vol. 4,
    1.54 +pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
    1.55 +
    1.56 +I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
    1.57 +for me.
    1.58 +
    1.59 +1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
    1.60 +
    1.61 +I hold Acme ltd, responsible for everything that happened.
    1.62 +
    1.63 +**************** EXPECTED ****************
    1.64 +
    1.65 +"Hurrah! that's, the way to do it!"
    1.66 +    Line 3 column 16 - Query punctuation after that's?
    1.67 +
    1.68 +"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
    1.69 +    Line 5 column 12 - Query punctuation after a?
    1.70 +
    1.71 +"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
    1.72 +    Line 5 column 41 - Query punctuation after let?
    1.73 +
    1.74 +"Come now, it's, time we tied the, score."
    1.75 +    Line 8 column 16 - Query punctuation after it's?
    1.76 +
    1.77 +"Come now, it's, time we tied the, score."
    1.78 +    Line 8 column 34 - Query punctuation after the?
    1.79 +
    1.80 +The regular season for baseball was at an, end, and the youths had fixed
    1.81 +    Line 10 column 42 - Query punctuation after an?
    1.82 +
    1.83 +up their, nines to suit themselves.
    1.84 +    Line 11 column 9 - Query punctuation after their?
    1.85 +
    1.86 +article over its, wearer's head.
    1.87 +    Line 15 column 17 - Query punctuation after its?
    1.88 +
    1.89 +"I knocked the ball--but I didn't aim for your, hat," answered Tom.
    1.90 +    Line 17 column 47 - Query punctuation after your?
    1.91 +
    1.92 +To my, old readers the lads who have thus far taken a part in this story
    1.93 +    Line 19 column 6 - Query punctuation after my?
    1.94 +
    1.95 +"It is a fine place, located in one of our, middle-western states."
    1.96 +    Line 22 column 43 - Query punctuation after our?
    1.97 +
    1.98 +Tubbs, a student whose, entire spare time was spent in buying things to
    1.99 +    Line 25 column 23 - Query punctuation after whose?
   1.100 +
   1.101 +Several days passed and during, that time the lads amused themselves
   1.102 +    Line 29 column 31 - Query punctuation after during?
   1.103 +
   1.104 +From among, the trees three large Roman candles were sending their balls
   1.105 +    Line 32 column 11 - Query punctuation after among?
   1.106 +
   1.107 +Another gasolene launch was coming up, dragging behind it nearly every,
   1.108 +    Line 35 column 71 - Query punctuation after every?
   1.109 +
   1.110 +and progressive changes toward, maturity continue all through the spring
   1.111 +    Line 39 column 31 - Query punctuation after toward?
   1.112 +
   1.113 +He was only 3 ft, from the stone. The observer was absent from 12 noon to
   1.114 +    Line 42 column 17 - Query punctuation after ft?
   1.115 +
   1.116 +2:33 pm. and from 3:30 pm, to 3:45 pm.
   1.117 +    Line 43 column 26 - Query punctuation after pm?
   1.118 +
   1.119 +lbs, on the third. Correspondingly, the following morning, he had lost one
   1.120 +    Line 46 column 4 - Query punctuation after lbs?
   1.121 +
   1.122 +lb, in weight.
   1.123 +    Line 47 column 3 - Query punctuation after lb?
   1.124 +
   1.125 +pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
   1.126 +    Line 50 column 3 - Query punctuation after pp?
   1.127 +
   1.128 +pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
   1.129 +    Line 50 column 16 - Query punctuation after cf?
   1.130 +
   1.131 +I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
   1.132 +    Line 52 column 21 - Query punctuation after jr?
   1.133 +
   1.134 +I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
   1.135 +    Line 52 column 63 - Query punctuation after sr?
   1.136 +
   1.137 +1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
   1.138 +    Line 55 column 16 - Query punctuation after vs?
   1.139 +
   1.140 +I hold Acme ltd, responsible for everything that happened.
   1.141 +    Line 57 column 16 - Query punctuation after ltd?