aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2017-12-30 22:43:33 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2017-12-30 22:43:33 -0500
commit475b0dcb66c2a7cdc78022b4dcb7c7fbb17ab309 (patch)
tree47406913e8bcc53aea9bc2639601a35a70d93fef /test/Tests
parente90c714c73be58ef09b08272c676f96e2a21c767 (diff)
downloadpandoc-475b0dcb66c2a7cdc78022b4dcb7c7fbb17ab309.tar.gz
Docx reader: tests for removing unused anchors.
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Docx.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index 5710a388f..19aecd9ec 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -175,6 +175,10 @@ tests = [ testGroup "inlines"
"inlines inside of Structured Document Tags"
"docx/sdt_elements.docx"
"docx/sdt_elements.native"
+ , testCompare
+ "remove anchor spans with nothing pointing to them"
+ "docx/unused_anchors.docx"
+ "docx/unused_anchors.native"
]
, testGroup "blocks"
[ testCompare