@@ -82,14 +82,14 @@ compareMediaBagIO docxFile = do
82 df <- B.readFile docxFile
82 df <- B.readFile docxFile
83 let (_, mb) = readDocx def df
83 let (_, mb) = readDocx def df
84 bools <- mapM
84 bools <- mapM
85− (\(fp, _, _) -> compareMediaPathIO fp mb docxFile)
85+ (\(fp, _, _) -> compareMediaPathIO fp mb docxFile)
86 (mediaDirectory mb)
86 (mediaDirectory mb)
87 return $ and bools
87 return $ and bools
89testMediaBagIO :: String -> FilePath -> IO Test
89testMediaBagIO :: String -> FilePath -> IO Test
90testMediaBagIO name docxFile = do
90testMediaBagIO name docxFile = do
91 outcome <- compareMediaBagIO docxFile
91 outcome <- compareMediaBagIO docxFile
92− return $ testCase name (assertBool
92+ return $ testCase name (assertBool
93 ("Media didn't match media bag in file " ++ docxFile)
93 ("Media didn't match media bag in file " ++ docxFile)
@@ -176,7 +176,10 @@ tests = [ testGroup "inlines"
176 "code block"
176 "code block"
177 "docx.codeblock.docx"
177 "docx.codeblock.docx"
178 "docx.codeblock.native"
178 "docx.codeblock.native"
180+ "dropcap paragraphs"
181+ "docx.drop_cap.docx"
182+ "docx.drop_cap.native"
181 , testGroup "track changes"
184 , testGroup "track changes"
182 [ testCompare
185 [ testCompare
@@ -229,4 +232,3 @@ tests = [ testGroup "inlines"