From 2f4cbcb9957a2840735a547cc846eeb566262a44 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Feb 2015 12:13:49 -0800 Subject: Added more --smart test cases. --- test/smart_punct.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/smart_punct.txt b/test/smart_punct.txt index 66b6fd2..14da741 100644 --- a/test/smart_punct.txt +++ b/test/smart_punct.txt @@ -55,6 +55,14 @@ Here is some quoted '`code`' and a "[quoted link](url)".

“Second paragraph by same speaker, in fiction.”

. +. +\"This is not smart.\" +This isn\'t either. +. +

"This is not smart." +This isn't either.

+. + . Some dashes: one---two --- three---four --- five. @@ -63,6 +71,12 @@ three---four --- five. three—four — five.

. +. +Escaped dashes: \-- \-\-\-. +. +

Escaped dashes: -- ---.

+. + . Dashes between numbers: 5--7, 255--66, 1987--1999. . @@ -74,3 +88,9 @@ Ellipses...and...and.... .

Ellipses…and…and….

. + +. +No ellipses\.\.\. +. +

No ellipses...

+. -- cgit v1.2.3