aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-06-16 22:44:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-06-16 22:44:40 -0700
commitbbe99003f8d25dc65ab12851907ecd5d9aad746c (patch)
tree4d8a9864e5b11e6f40dfe837dc60ec6f295006f6 /tests/Tests/Readers
parent7c1d38ac7df151ce353d0d8d601ef17b33faea9b (diff)
downloadpandoc-bbe99003f8d25dc65ab12851907ecd5d9aad746c.tar.gz
Naming: Use Docx instead of DocX.
For consistency with the existing writer.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r--tests/Tests/Readers/Docx.hs (renamed from tests/Tests/Readers/DocX.hs)6
1 files changed, 3 insertions, 3 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