aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-18 23:37:54 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-18 23:37:54 -0800
commit608d5bc75397b3c20e808ff227d15d5a6c3a8964 (patch)
tree8b4fb255093c00c0e3b117ecaaead5548fec5eb2
parent0502c0fd28c4ef20f437ad1c8ae50c1e2793cd3b (diff)
downloadpandoc-608d5bc75397b3c20e808ff227d15d5a6c3a8964.tar.gz
Added normalize in latex reader tests.
-rw-r--r--tests/Tests/Readers/LaTeX.hs3
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"