aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-16 11:19:52 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-16 11:19:52 -0800
commit0cfafdec643021ce8b45e07ef826b2c196636fae (patch)
tree727a0bbc1e9c6704d4daf1653fad00e51c64e02a /tests/Tests
parent8f7c119c0f5f32bea83bc80b81e01c2197a956b2 (diff)
downloadpandoc-0cfafdec643021ce8b45e07ef826b2c196636fae.tar.gz
Replaced --no-citeproc with --natbib in tests.
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Old.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
index 7d1df3758..50b6b2111 100644
--- a/tests/Tests/Old.hs
+++ b/tests/Tests/Old.hs
@@ -142,7 +142,7 @@ latexCitationTests n
]
where
o = ["--bibliography", "biblio.bib", "--csl", "chicago-author-date.csl",
- "--no-citeproc", "--" ++ n]
+ "--natbib", "--" ++ n]
f = n ++ "-citations.latex"
normalizer = substitute "\160" " " . substitute "\8211" "-"
t = testWithNormalize normalizer
@@ -164,12 +164,12 @@ s5WriterTest modifier opts format
markdownCitationTests :: [Test]
markdownCitationTests
= map styleToTest ["chicago-author-date","ieee","mhra"]
- ++ [test "no-citeproc" wopts "markdown-citations.txt"
+ ++ [test "natbib" wopts "markdown-citations.txt"
"markdown-citations.txt"]
where
ropts = ["-r", "markdown", "-w", "markdown", "--bibliography",
"biblio.bib", "--no-wrap"]
- wopts = ropts ++ ["--no-citeproc"]
+ wopts = ropts ++ ["--natbib"]
styleToTest style = test style (ropts ++ ["--csl", style ++ ".csl"])
"markdown-citations.txt"
("markdown-citations." ++ style ++ ".txt")