diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-20 22:36:40 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-20 22:36:40 -0800 |
commit | 52b6e38425ca4ce1b95fa8e92daaa7f10f7d3a5b (patch) | |
tree | 03988f861cb1ee52e894b0dbd904b9a6af7555d8 /tests/Tests | |
parent | 8894b1a030145d903afea6e21dc61172a5f7c6c0 (diff) | |
download | pandoc-52b6e38425ca4ce1b95fa8e92daaa7f10f7d3a5b.tar.gz |
Updated tests for new native format.
Diffstat (limited to 'tests/Tests')
-rw-r--r-- | tests/Tests/Old.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs index 50b6b2111..d73d731fb 100644 --- a/tests/Tests/Old.hs +++ b/tests/Tests/Old.hs @@ -12,6 +12,7 @@ import System.Exit import Data.Algorithm.Diff import Text.Pandoc.Shared ( substitute, normalize, defaultWriterOptions ) import Text.Pandoc.Writers.Native ( writeNative ) +import Text.Pandoc.Readers.Native ( readNative ) import Text.Pandoc.Highlighting ( languages ) import Prelude hiding ( readFile ) import qualified Data.ByteString.Lazy as B @@ -128,7 +129,7 @@ lhsReaderTest :: String -> Test lhsReaderTest format = testWithNormalize normalizer "lhs" ["-r", format, "-w", "native"] ("lhs-test" <.> format) "lhs-test.native" - where normalizer = writeNative defaultWriterOptions . normalize . read + where normalizer = writeNative defaultWriterOptions . normalize . readNative latexCitationTests :: String -> Test latexCitationTests n |