aboutsummaryrefslogtreecommitdiff
path: root/test/test-pandoc.hs
diff options
context:
space:
mode:
authorAnton Antich <[email protected]>2025-11-09 14:07:38 +0100
committerJohn MacFarlane <[email protected]>2025-11-24 23:10:33 +0100
commit59b8b3ed4b6998fad87b3a29ce59ba7a5cf40c46 (patch)
tree1ddde4712ae7f8a879bd1299ae408cc596b02a89 /test/test-pandoc.hs
parentec75b693e5618c12ddac872d48e084436f1e1b48 (diff)
Add `xlsx` (Microsoft Excel) as an input format.
Each worksheet turns into a section containing a table. The common file `nativeDiff` has been extract from the Docx and Pptx text files and put in Tests.Helpers.
Diffstat (limited to 'test/test-pandoc.hs')
-rw-r--r--test/test-pandoc.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-pandoc.hs b/test/test-pandoc.hs
index 0d04b361f..9ae97d9c0 100644
--- a/test/test-pandoc.hs
+++ b/test/test-pandoc.hs
@@ -13,6 +13,7 @@ import qualified Tests.Old
import qualified Tests.Readers.Creole
import qualified Tests.Readers.Docx
import qualified Tests.Readers.Pptx
+import qualified Tests.Readers.Xlsx
import qualified Tests.Readers.DokuWiki
import qualified Tests.Readers.EPUB
import qualified Tests.Readers.FB2
@@ -97,6 +98,7 @@ tests pandocPath = testGroup "pandoc tests"
, testGroup "RTF" Tests.Readers.RTF.tests
, testGroup "Docx" Tests.Readers.Docx.tests
, testGroup "Pptx" Tests.Readers.Pptx.tests
+ , testGroup "Xlsx" Tests.Readers.Xlsx.tests
, testGroup "ODT" Tests.Readers.ODT.tests
, testGroup "Txt2Tags" Tests.Readers.Txt2Tags.tests
, testGroup "EPUB" Tests.Readers.EPUB.tests
@@ -126,4 +128,4 @@ main = do
_ -> inDirectory "test" $ do
fp <- getExecutablePath
-- putStrLn $ "Using pandoc executable at " ++ fp
- defaultMain $ tests fp \ No newline at end of file
+ defaultMain $ tests fp