diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-18 23:37:54 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-18 23:37:54 -0800 |
commit | 608d5bc75397b3c20e808ff227d15d5a6c3a8964 (patch) | |
tree | 8b4fb255093c00c0e3b117ecaaead5548fec5eb2 /tests/Tests/Readers | |
parent | 0502c0fd28c4ef20f437ad1c8ae50c1e2793cd3b (diff) | |
download | pandoc-608d5bc75397b3c20e808ff227d15d5a6c3a8964.tar.gz |
Added normalize in latex reader tests.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/LaTeX.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Tests/Readers/LaTeX.hs b/tests/Tests/Readers/LaTeX.hs index 69355a5c8..3a0a9b57a 100644 --- a/tests/Tests/Readers/LaTeX.hs +++ b/tests/Tests/Readers/LaTeX.hs @@ -5,9 +5,10 @@ import Test.Framework import Tests.Helpers import Text.Pandoc.Builder import Text.Pandoc +import Text.Pandoc.Shared (normalize) latex :: String -> Pandoc -latex = readLaTeX defaultParserState{stateSmart = True} +latex = normalize . readLaTeX defaultParserState{stateSmart = True} tests :: [Test] tests = [ testGroup "basic" |