aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2017-12-31 09:36:42 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2017-12-31 09:36:42 -0500
commit3f30455b4989e7a31a59b7278175476cfd95d41d (patch)
tree72a768054e7476983966d33968d8351c4761f2c5 /test/Tests
parent836153de43933dca3205e4459f55979d467f927e (diff)
downloadpandoc-3f30455b4989e7a31a59b7278175476cfd95d41d.tar.gz
Docx reader: tests for overlapping targets (anchor spans).
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 19aecd9ec..d79b8a063 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -179,6 +179,10 @@ tests = [ testGroup "inlines"
"remove anchor spans with nothing pointing to them"
"docx/unused_anchors.docx"
"docx/unused_anchors.native"
+ , testCompare
+ "collapse overlapping targets (anchor spans)"
+ "docx/overlapping_targets.docx"
+ "docx/overlapping_targets.native"
]
, testGroup "blocks"
[ testCompare