diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-06-16 22:44:40 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-06-16 22:44:40 -0700 |
commit | bbe99003f8d25dc65ab12851907ecd5d9aad746c (patch) | |
tree | 4d8a9864e5b11e6f40dfe837dc60ec6f295006f6 /tests | |
parent | 7c1d38ac7df151ce353d0d8d601ef17b33faea9b (diff) | |
download | pandoc-bbe99003f8d25dc65ab12851907ecd5d9aad746c.tar.gz |
Naming: Use Docx instead of DocX.
For consistency with the existing writer.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Docx.hs (renamed from tests/Tests/Readers/DocX.hs) | 6 | ||||
-rw-r--r-- | tests/test-pandoc.hs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Tests/Readers/DocX.hs b/tests/Tests/Readers/Docx.hs index f4564ea1d..0a963ddc6 100644 --- a/tests/Tests/Readers/DocX.hs +++ b/tests/Tests/Readers/Docx.hs @@ -1,4 +1,4 @@ -module Tests.Readers.DocX (tests) where +module Tests.Readers.Docx (tests) where import Text.Pandoc.Options import Text.Pandoc.Readers.Native @@ -6,13 +6,13 @@ import Text.Pandoc.Definition import Tests.Helpers import Test.Framework import qualified Data.ByteString.Lazy as B -import Text.Pandoc.Readers.DocX +import Text.Pandoc.Readers.Docx compareOutput :: FilePath -> FilePath -> IO (Pandoc, Pandoc) compareOutput docxFile nativeFile = do df <- B.readFile docxFile nf <- Prelude.readFile nativeFile - return $ (readDocX def df, readNative nf) + return $ (readDocx def df, readNative nf) testCompare' :: String -> FilePath -> FilePath -> IO Test testCompare' name docxFile nativeFile = do diff --git a/tests/test-pandoc.hs b/tests/test-pandoc.hs index 9f9d85147..c07a51ec5 100644 --- a/tests/test-pandoc.hs +++ b/tests/test-pandoc.hs @@ -9,7 +9,7 @@ import qualified Tests.Readers.LaTeX import qualified Tests.Readers.Markdown import qualified Tests.Readers.Org import qualified Tests.Readers.RST -import qualified Tests.Readers.DocX +import qualified Tests.Readers.Docx import qualified Tests.Writers.ConTeXt import qualified Tests.Writers.LaTeX import qualified Tests.Writers.HTML @@ -39,7 +39,7 @@ tests = [ testGroup "Old" Tests.Old.tests , testGroup "Markdown" Tests.Readers.Markdown.tests , testGroup "Org" Tests.Readers.Org.tests , testGroup "RST" Tests.Readers.RST.tests - , testGroup "DocX" Tests.Readers.DocX.tests + , testGroup "Docx" Tests.Readers.Docx.tests ] ] |