Add testcase for double punctuation
authorali <ali@juiblex.co.uk>
Sun Feb 19 22:58:45 2012 +0000 (2012-02-19)
changeset 334bbdf78c7c60
parent 32 2d9823436510
child 34 8744c913ccdd
Add testcase for double punctuation
test/compatibility/Makefile.am
test/compatibility/double-punctuation.tst
     1.1 --- a/test/compatibility/Makefile.am	Sun Feb 19 22:23:30 2012 +0000
     1.2 +++ b/test/compatibility/Makefile.am	Sun Feb 19 22:58:45 2012 +0000
     1.3 @@ -7,6 +7,6 @@
     1.4  	dashes.tst control-characters.tst unusual-characters.tst \
     1.5  	windows-1252.tst periods.tst long-line.tst unmarked-paragraph.tst \
     1.6  	hebe-jeebies.tst mail-from.tst scannos.tst before-comma.tst \
     1.7 -	before-period.tst
     1.8 +	before-period.tst double-punctuation.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/double-punctuation.tst	Sun Feb 19 22:58:45 2012 +0000
     2.3 @@ -0,0 +1,26 @@
     2.4 +**************** INPUT ****************
     2.5 +While there are a number of very important cases where two (or more)
     2.6 +punctuation marks can be adjacent,, there are a number of double
     2.7 +punctuation cases that can never be correct,.
     2.8 +
     2.9 +Further insight into the fall migration of the chimney swift is
    2.10 +provided by the consideration of a few of the several hundred banding
    2.11 +records that have been accumulated. One banded at Lexington,
    2.12 +Mo., on September 23 was recaptured at Baton Rouge, La., on September
    2.13 +27; one banded at Newark, Ohio, on September 20 was retaken
    2.14 +at Nashville, Tenn., on September 27; while a third, banded on
    2.15 +August 23 at Kents Island, New Brunswick, was retrapped at Opelika,
    2.16 +Ala., on September 20. A swift banded at 5:30 on the morning of September
    2.17 +22 at Glasgow, Ky., was taken that same evening in a chimney
    2.18 +at Nashville, Tenn., 90 miles from the point of banding. Another
    2.19 +record, which seems to indicate the direction of the movement along
    2.20 +the Gulf coast, is of a bird banded at Sanford, Fla., on August 9 and
    2.21 +found with a broken wing near Tallulah, La., on September 25.
    2.22 +
    2.23 +**************** EXPECTED ****************
    2.24 +
    2.25 +punctuation marks can be adjacent,, there are a number of double
    2.26 +    Line 2 column 34 - Double punctuation?
    2.27 +
    2.28 +punctuation cases that can never be correct,.
    2.29 +    Line 3 column 44 - Double punctuation?