aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers
diff options
context:
space:
mode:
authorVaclav Zeman <vhaisman@gmail.com>2014-02-13 00:03:54 +0100
committerVaclav Zeman <vhaisman@gmail.com>2014-02-13 00:03:54 +0100
commit08d80809c20408701b2ccf57d561196e9743269e (patch)
tree65935b37c5a4ccc3dd584cda26e1213817de356c /tests/Tests/Writers
parent64bcb9fe0361b448a8175810e9eb45826c83cda0 (diff)
downloadpandoc-08d80809c20408701b2ccf57d561196e9743269e.tar.gz
Update tests suite to expect \texorpdfstring.
Diffstat (limited to 'tests/Tests/Writers')
-rw-r--r--tests/Tests/Writers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Tests/Writers/LaTeX.hs b/tests/Tests/Writers/LaTeX.hs
index 8a9519e2e..8cc957620 100644
--- a/tests/Tests/Writers/LaTeX.hs
+++ b/tests/Tests/Writers/LaTeX.hs
@@ -52,6 +52,6 @@ tests = [ testGroup "code blocks"
[ "unnumbered header" =:
headerWith ("foo",["unnumbered"],[]) 1
(text "Header 1" <> note (plain $ text "note")) =?>
- "\\section*{Header 1\\footnote{note}}\\label{foo}\n\\addcontentsline{toc}{section}{Header 1}\n"
+ "\\section*{\\texorpdfstring{Header 1\\footnote{note}}{Header 1}}\\label{foo}\n\\addcontentsline{toc}{section}{Header 1}\n"
]
]