diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-06-24 11:48:23 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-06-24 12:11:57 -0400 |
commit | 2621482d69d96a7f069133e57f6df8a479ad5111 (patch) | |
tree | b8ff8e5400a8237c3272b4e715e932102a38cb5a | |
parent | bebea5e936d6c3c90b977a1b8f69bb3a290d30dc (diff) | |
download | pandoc-2621482d69d96a7f069133e57f6df8a479ad5111.tar.gz |
Docx Reader: add failing defintion list tests.
-rw-r--r-- | tests/Tests/Readers/Docx.hs | 4 | ||||
-rw-r--r-- | tests/docx.definition_list.docx | bin | 0 -> 8455 bytes | |||
-rw-r--r-- | tests/docx.definition_list.native | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index c49bee14e..4d062bbc0 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -101,6 +101,10 @@ tests = [ testGroup "inlines" "docx.lists.docx" "docx.lists.native" , testCompare + "definition lists" + "docx.definition_list.docx" + "docx.definition_list.native" + , testCompare "footnotes and endnotes" "docx.notes.docx" "docx.notes.native" diff --git a/tests/docx.definition_list.docx b/tests/docx.definition_list.docx Binary files differnew file mode 100644 index 000000000..a19edda45 --- /dev/null +++ b/tests/docx.definition_list.docx diff --git a/tests/docx.definition_list.native b/tests/docx.definition_list.native new file mode 100644 index 000000000..2e08ff1ac --- /dev/null +++ b/tests/docx.definition_list.native @@ -0,0 +1,7 @@ +[DefinitionList + [([Str "Term",Space,Str "1"], + [[Para [Str "Definition",Space,Str "1"]]]) + ,([Str "Term",Space,Str "2",Space,Str "with",Space,Emph [Str "inline",Space,Str "markup"]], + [[Para [Str "Definition",Space,Str "2"] + ,CodeBlock ("",[],[]) "{ some code, part of Definition 2 }" + ,Para [Str "Third",Space,Str "paragraph",Space,Str "of",Space,Str "definition",Space,Str "2."]]])]] |