diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-06-19 19:33:22 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-06-19 19:33:22 -0400 |
commit | da0d1d27ac98ca28e66bc2df3de2bce738068fb8 (patch) | |
tree | c623f7769c57f7c4ba7738aba995a99b444dfa91 /tests | |
parent | d19996d7438fbd2ce56cf3ce46b99cd71437cacb (diff) | |
download | pandoc-da0d1d27ac98ca28e66bc2df3de2bce738068fb8.tar.gz |
Add tabs tests.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Docx.hs | 7 | ||||
-rw-r--r-- | tests/docx.tabs.docx | bin | 0 -> 12919 bytes | |||
-rw-r--r-- | tests/docx.tabs.native | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index 273f03f4d..3a13641a9 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -44,7 +44,12 @@ tests = [ testGroup "inlines" , testCompare "handling unicode input" "docx.unicode.docx" - "docx.unicode.native"] + "docx.unicode.native" + , testCompare + "literal tabs" + "docx.tabs.docx" + "docx.tabs.native" + ] , testGroup "blocks" [ testCompare "headers" diff --git a/tests/docx.tabs.docx b/tests/docx.tabs.docx Binary files differnew file mode 100644 index 000000000..6ff5f4bb1 --- /dev/null +++ b/tests/docx.tabs.docx diff --git a/tests/docx.tabs.native b/tests/docx.tabs.native new file mode 100644 index 000000000..05461f20b --- /dev/null +++ b/tests/docx.tabs.native @@ -0,0 +1,2 @@ +[Para [Str "Some",Space,Str "text",Space,Str "separated",Space,Str "by",Space,Str "a",Space,Str "tab."] +,Para [Str "Tab-indented",Space,Str "text."]] |