aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2014-07-30 22:32:55 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2014-07-30 22:32:55 -0400
commit4d1d8a4b6ff6ca957c63233e344f2de4cd9e87bb (patch)
tree30c11bc6f7f9ad2d4262e32d9cc4092b945c26e5 /tests
parentb24b3289064d4f4294b3d4ec87032fcd54af7e8a (diff)
downloadpandoc-4d1d8a4b6ff6ca957c63233e344f2de4cd9e87bb.tar.gz
Docx test: Test image from media bag.
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Docx.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs
index e57376063..494669fd5 100644
--- a/tests/Tests/Readers/Docx.hs
+++ b/tests/Tests/Readers/Docx.hs
@@ -184,6 +184,13 @@ tests = [ testGroup "inlines"
"docx.track_changes_deletion.docx"
"docx.track_changes_deletion_all.native"
]
+ , testGroup "media"
+ [ testCompareMedia
+ "image extraction"
+ "docx.image.docx"
+ "media/image1.jpeg"
+ "docx.image1.jpeg"
+ ]
, testGroup "metadata"
[ testCompareWithOpts def{readerStandalone=True}
"metadata fields"