aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/LaTeX.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Tests/Writers/LaTeX.hs')
-rw-r--r--tests/Tests/Writers/LaTeX.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Tests/Writers/LaTeX.hs b/tests/Tests/Writers/LaTeX.hs
index 28d6618c1..fb230e89a 100644
--- a/tests/Tests/Writers/LaTeX.hs
+++ b/tests/Tests/Writers/LaTeX.hs
@@ -90,11 +90,11 @@ tests = [ testGroup "code blocks"
latexTopLevelDiv :: (ToPandoc a) => Division -> a -> String
latexTopLevelDiv division =
- latexWithOpts def{ writerTopLevelDivision = division }
+ latexWithOpts def{ writerTopLevelDivision = Just division }
beamerTopLevelDiv :: (ToPandoc a) => Division -> a -> String
beamerTopLevelDiv division =
- latexWithOpts def { writerTopLevelDivision = division
+ latexWithOpts def { writerTopLevelDivision = Just division
, writerBeamer = True }
in
[ test (latexTopLevelDiv Section) "sections as top-level" $ headers =?>