aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-16 22:31:36 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-16 22:31:36 +0100
commit090165d714221bcfc1e4da7c43e8ad0b585d6dff (patch)
treeea405ec1828da02a0eb8ec9f6d3d5a340d8a4d0e /test/command
parentf5f6ff2c75adfe24b8add37feb869f59b760d1f5 (diff)
downloadpandoc-090165d714221bcfc1e4da7c43e8ad0b585d6dff.tar.gz
Added test for #256.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/256.md12
-rw-r--r--test/command/abbrevs2
2 files changed, 14 insertions, 0 deletions
diff --git a/test/command/256.md b/test/command/256.md
new file mode 100644
index 000000000..08e483e5c
--- /dev/null
+++ b/test/command/256.md
@@ -0,0 +1,12 @@
+```
+% pandoc --abbreviations=command/abbrevs -t native
+Foo. bar baz h.k. and e.g. and Mr. Brown.
+^D
+[Para [Str "Foo.\160bar",Space,Str "baz",Space,Str "h.k.\160and",Space,Str "e.g.",Space,Str "and",Space,Str "Mr.",Space,Str "Brown."]]
+```
+```
+% pandoc -t native
+Foo. bar baz h.k. and e.g. and Mr. Brown.
+^D
+[Para [Str "Foo.",Space,Str "bar",Space,Str "baz",Space,Str "h.k.",Space,Str "and",Space,Str "e.g.\160and",Space,Str "Mr.\160Brown."]]
+```
diff --git a/test/command/abbrevs b/test/command/abbrevs
new file mode 100644
index 000000000..1f8efe68e
--- /dev/null
+++ b/test/command/abbrevs
@@ -0,0 +1,2 @@
+Foo.
+h.k.