diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-12-10 16:52:35 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-25 17:07:41 +0100 |
commit | 2e7b0c7edaac9fbba52ac3cbc6380dbfb74805cf (patch) | |
tree | a467c1c7312e488cf4626698f4de02c9a9ff4184 /tests/Tests/Writers | |
parent | 6643e401eed85d1a1366b1d2193fb06e285c7448 (diff) | |
download | pandoc-2e7b0c7edaac9fbba52ac3cbc6380dbfb74805cf.tar.gz |
Added ReaderOptions parameter to readNative.
This makes it similar to the other readers -- even
though ReaderOptions is essentially ignored, the uniformity
is nice.
Diffstat (limited to 'tests/Tests/Writers')
-rw-r--r-- | tests/Tests/Writers/Docx.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Tests/Writers/Docx.hs b/tests/Tests/Writers/Docx.hs index 44095925f..fd320d224 100644 --- a/tests/Tests/Writers/Docx.hs +++ b/tests/Tests/Writers/Docx.hs @@ -21,9 +21,9 @@ compareOutput opts nativeFileIn nativeFileOut = do nf' <- Prelude.readFile nativeFileOut let wopts = fst opts df <- runIOorExplode $ do - d <- readNative nf + d <- readNative def nf writeDocx wopts{writerUserDataDir = Just (".." </> "data")} d - df' <- runIOorExplode (readNative nf') + df' <- runIOorExplode (readNative def nf') p <- runIOorExplode $ readDocx (snd opts) df return (p, df') |