summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-10-15 19:11:01 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-10-15 19:53:57 -0700
commit7499499b68934ae6f3418940328c7fc2bd9fcadd (patch)
tree191f56880bb1758623aa44f48e60811ec06021ed /tests
parentb28630f577fd149580b18a300252cd0e1f173574 (diff)
LaTeX reader: Use new suppressParens option for footnote citations.
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation.
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/LaTeX.hs13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Tests/Readers/LaTeX.hs b/tests/Tests/Readers/LaTeX.hs
index febc91765..ade998388 100644
--- a/tests/Tests/Readers/LaTeX.hs
+++ b/tests/Tests/Readers/LaTeX.hs
@@ -62,12 +62,13 @@ tests = [ testGroup "basic"
]
baseCitation :: Citation
-baseCitation = Citation{ citationId = "item1"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = AuthorInText
- , citationNoteNum = 0
- , citationHash = 0 }
+baseCitation = Citation{ citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 0
+ , citationSuppressParens = False
+ , citationHash = 0 }
rt :: String -> Inlines
rt = rawInline "latex"