From 396d304167c54ec9c67b152f8eb4d26b7ef88e31 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 4 Feb 2017 22:09:19 +0100
Subject: [PATCH] More smart escaping tests.

---
 test/command/smart.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/test/command/smart.md b/test/command/smart.md
index 541275f4a..e64d67de2 100644
--- a/test/command/smart.md
+++ b/test/command/smart.md
@@ -22,4 +22,24 @@ When we render literal quotes without smart, we need to escape:
 \"hi\"\...dog\'s breath\-\--cat 5\--6
 ```
 
+```
+% pandoc -f markdown+smart -t rst-smart
+"hi"...dog's breath---cat 5--6
+^D
+“hi”…dog’s breath—cat 5–6
+```
+
+```
+% pandoc -f markdown+smart -t rst+smart
+"hi"...dog's breath---cat 5--6
+^D
+"hi"...dog's breath---cat 5--6
+```
+
+```
+% pandoc -f markdown-smart -t rst+smart
+"hi"...dog's breath---cat 5--6
+^D
+\"hi\"\...dog\'s breath\-\--cat 5\--6
+```