From 3f30455b4989e7a31a59b7278175476cfd95d41d Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Sun, 31 Dec 2017 09:36:42 -0500 Subject: Docx reader: tests for overlapping targets (anchor spans). --- test/Tests/Readers/Docx.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Tests') 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 -- cgit v1.2.3