aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-07-22 15:39:23 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-07-22 15:39:23 -0700
commit266caf70e51f2a20eb95c58deaa258807a377bb1 (patch)
tree65aab7721608e5b075129c72b3e4d2975b4671e5 /tests
parent5f758970a5277de492728a3277bd7aae41978a1c (diff)
downloadpandoc-266caf70e51f2a20eb95c58deaa258807a377bb1.tar.gz
Added test for extended code block in textile.
Closes #3037.
Diffstat (limited to 'tests')
-rw-r--r--tests/textile-reader.native2
-rw-r--r--tests/textile-reader.textile5
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/textile-reader.native b/tests/textile-reader.native
index 0b4b3bb22..f5d4c20da 100644
--- a/tests/textile-reader.native
+++ b/tests/textile-reader.native
@@ -26,6 +26,8 @@ Pandoc (Meta {unMeta = fromList []})
,Para [Str "And:"]
,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
,CodeBlock ("",[],[]) "Code block with .bc\n continued\n @</\\"
+,CodeBlock ("",[],[]) "extended code block\n\n continued"
+,Para [Str "ended",Space,Str "by",Space,Str "paragraph"]
,Para [Str "Inline",Space,Str "code:",Space,Code ("",[],[]) "<tt>",Str ",",Space,Code ("",[],[]) "@",Str "."]
,Header 1 ("notextile",[],[]) [Str "Notextile"]
,Para [Str "A",Space,Str "block",Space,Str "of",Space,Str "text",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "notextile",Space,Str ":"]
diff --git a/tests/textile-reader.textile b/tests/textile-reader.textile
index 6c6754997..3eaf62aed 100644
--- a/tests/textile-reader.textile
+++ b/tests/textile-reader.textile
@@ -68,6 +68,11 @@ bc. Code block with .bc
continued
@</\
+bc.. extended code block
+
+ continued
+p. ended by paragraph
+
Inline code: @<tt>@, <tt>@</tt>.
h1. Notextile