# HG changeset patch # User ali # Date 1329692325 0 # Node ID 4bbdf78c7c60a2e5d9de029aebb5787e100be689 # Parent 2d98234365101c063bb4cb29d043f0875121e05d Add testcase for double punctuation diff -r 2d9823436510 -r 4bbdf78c7c60 test/compatibility/Makefile.am --- a/test/compatibility/Makefile.am Sun Feb 19 22:23:30 2012 +0000 +++ b/test/compatibility/Makefile.am Sun Feb 19 22:58:45 2012 +0000 @@ -7,6 +7,6 @@ dashes.tst control-characters.tst unusual-characters.tst \ windows-1252.tst periods.tst long-line.tst unmarked-paragraph.tst \ hebe-jeebies.tst mail-from.tst scannos.tst before-comma.tst \ - before-period.tst + before-period.tst double-punctuation.tst dist_pkgdata_DATA=$(TESTS) diff -r 2d9823436510 -r 4bbdf78c7c60 test/compatibility/double-punctuation.tst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compatibility/double-punctuation.tst Sun Feb 19 22:58:45 2012 +0000 @@ -0,0 +1,26 @@ +**************** INPUT **************** +While there are a number of very important cases where two (or more) +punctuation marks can be adjacent,, there are a number of double +punctuation cases that can never be correct,. + +Further insight into the fall migration of the chimney swift is +provided by the consideration of a few of the several hundred banding +records that have been accumulated. One banded at Lexington, +Mo., on September 23 was recaptured at Baton Rouge, La., on September +27; one banded at Newark, Ohio, on September 20 was retaken +at Nashville, Tenn., on September 27; while a third, banded on +August 23 at Kents Island, New Brunswick, was retrapped at Opelika, +Ala., on September 20. A swift banded at 5:30 on the morning of September +22 at Glasgow, Ky., was taken that same evening in a chimney +at Nashville, Tenn., 90 miles from the point of banding. Another +record, which seems to indicate the direction of the movement along +the Gulf coast, is of a bird banded at Sanford, Fla., on August 9 and +found with a broken wing near Tallulah, La., on September 25. + +**************** EXPECTED **************** + +punctuation marks can be adjacent,, there are a number of double + Line 2 column 34 - Double punctuation? + +punctuation cases that can never be correct,. + Line 3 column 44 - Double punctuation?