1.1 --- a/test/compatibility/Makefile.am Sun Feb 19 09:56:28 2012 +0000
1.2 +++ b/test/compatibility/Makefile.am Sun Feb 19 10:06:41 2012 +0000
1.3 @@ -6,6 +6,6 @@
1.4 user-defined-typo.tst brackets.tst single-quotes.tst grave-quotes.tst \
1.5 dashes.tst control-characters.tst unusual-characters.tst \
1.6 windows-1252.tst periods.tst long-line.tst unmarked-paragraph.tst \
1.7 - hebe-jeebies.tst mail-from.tst scannos.tst
1.8 + hebe-jeebies.tst mail-from.tst scannos.tst before-comma.tst
1.9
1.10 dist_pkgdata_DATA=$(TESTS)
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/test/compatibility/before-comma.tst Sun Feb 19 10:06:41 2012 +0000
2.3 @@ -0,0 +1,138 @@
2.4 +**************** INPUT ****************
2.5 +Certain words shouldn't be followed by commas and so we check for them.
2.6 +
2.7 +"Hurrah! that's, the way to do it!"
2.8 +
2.9 +"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
2.10 +merrily.
2.11 +
2.12 +"Come now, it's, time we tied the, score."
2.13 +
2.14 +The regular season for baseball was at an, end, and the youths had fixed
2.15 +up their, nines to suit themselves.
2.16 +
2.17 +But before the youngest Rover could reach the sphere down it
2.18 +came--straight on the fancy straw hat of a dudish youth, crushing the
2.19 +article over its, wearer's head.
2.20 +
2.21 +"I knocked the ball--but I didn't aim for your, hat," answered Tom.
2.22 +
2.23 +To my, old readers the lads who have thus far taken a part in this story
2.24 +will need no special introduction.
2.25 +
2.26 +"It is a fine place, located in one of our, middle-western states."
2.27 +
2.28 +They also had with them their former school chum, William Philander
2.29 +Tubbs, a student whose, entire spare time was spent in buying things to
2.30 +wear of the latest fashions, and in seeking the society of his young
2.31 +lady friends.
2.32 +
2.33 +Several days passed and during, that time the lads amused themselves
2.34 +hugely, hunting, fishing, swimming and knocking around generally.
2.35 +
2.36 +From among, the trees three large Roman candles were sending their balls
2.37 +of various colors high into the air.
2.38 +
2.39 +Another gasolene launch was coming up, dragging behind it nearly every,
2.40 +rowboat Brill possessed.
2.41 +
2.42 +Specimens taken in February show yellow feathers coming in on the head,
2.43 +and progressive changes toward, maturity continue all through the spring
2.44 +months until, by summer, the yellow head is fully acquired.
2.45 +
2.46 +He was only 3 ft, from the stone. The observer was absent from 12 noon to
2.47 +2:33 pm. and from 3:30 pm, to 3:45 pm.
2.48 +
2.49 +It weighed 2.4 lbs. the first morning, 1.9 lbs. the second, and only 1.4
2.50 +lbs, on the third. Correspondingly, the following morning, he had lost one
2.51 +lb, in weight.
2.52 +
2.53 +There are six replies to Coues' query printed in The Nidologist (vol. 4,
2.54 +pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
2.55 +
2.56 +I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
2.57 +for me.
2.58 +
2.59 +1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
2.60 +
2.61 +I hold Acme ltd, responsible for everything that happened.
2.62 +
2.63 +**************** EXPECTED ****************
2.64 +
2.65 +"Hurrah! that's, the way to do it!"
2.66 + Line 3 column 16 - Query punctuation after that's?
2.67 +
2.68 +"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
2.69 + Line 5 column 12 - Query punctuation after a?
2.70 +
2.71 +"Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
2.72 + Line 5 column 41 - Query punctuation after let?
2.73 +
2.74 +"Come now, it's, time we tied the, score."
2.75 + Line 8 column 16 - Query punctuation after it's?
2.76 +
2.77 +"Come now, it's, time we tied the, score."
2.78 + Line 8 column 34 - Query punctuation after the?
2.79 +
2.80 +The regular season for baseball was at an, end, and the youths had fixed
2.81 + Line 10 column 42 - Query punctuation after an?
2.82 +
2.83 +up their, nines to suit themselves.
2.84 + Line 11 column 9 - Query punctuation after their?
2.85 +
2.86 +article over its, wearer's head.
2.87 + Line 15 column 17 - Query punctuation after its?
2.88 +
2.89 +"I knocked the ball--but I didn't aim for your, hat," answered Tom.
2.90 + Line 17 column 47 - Query punctuation after your?
2.91 +
2.92 +To my, old readers the lads who have thus far taken a part in this story
2.93 + Line 19 column 6 - Query punctuation after my?
2.94 +
2.95 +"It is a fine place, located in one of our, middle-western states."
2.96 + Line 22 column 43 - Query punctuation after our?
2.97 +
2.98 +Tubbs, a student whose, entire spare time was spent in buying things to
2.99 + Line 25 column 23 - Query punctuation after whose?
2.100 +
2.101 +Several days passed and during, that time the lads amused themselves
2.102 + Line 29 column 31 - Query punctuation after during?
2.103 +
2.104 +From among, the trees three large Roman candles were sending their balls
2.105 + Line 32 column 11 - Query punctuation after among?
2.106 +
2.107 +Another gasolene launch was coming up, dragging behind it nearly every,
2.108 + Line 35 column 71 - Query punctuation after every?
2.109 +
2.110 +and progressive changes toward, maturity continue all through the spring
2.111 + Line 39 column 31 - Query punctuation after toward?
2.112 +
2.113 +He was only 3 ft, from the stone. The observer was absent from 12 noon to
2.114 + Line 42 column 17 - Query punctuation after ft?
2.115 +
2.116 +2:33 pm. and from 3:30 pm, to 3:45 pm.
2.117 + Line 43 column 26 - Query punctuation after pm?
2.118 +
2.119 +lbs, on the third. Correspondingly, the following morning, he had lost one
2.120 + Line 46 column 4 - Query punctuation after lbs?
2.121 +
2.122 +lb, in weight.
2.123 + Line 47 column 3 - Query punctuation after lb?
2.124 +
2.125 +pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
2.126 + Line 50 column 3 - Query punctuation after pp?
2.127 +
2.128 +pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
2.129 + Line 50 column 16 - Query punctuation after cf?
2.130 +
2.131 +I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
2.132 + Line 52 column 21 - Query punctuation after jr?
2.133 +
2.134 +I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
2.135 + Line 52 column 63 - Query punctuation after sr?
2.136 +
2.137 +1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
2.138 + Line 55 column 16 - Query punctuation after vs?
2.139 +
2.140 +I hold Acme ltd, responsible for everything that happened.
2.141 + Line 57 column 16 - Query punctuation after ltd?