aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Writers/LaTeX.hs2
-rw-r--r--test/command/1629.md2
-rw-r--r--test/command/3422.md2
-rw-r--r--test/command/5420.md2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/Tests/Writers/LaTeX.hs b/test/Tests/Writers/LaTeX.hs
index 09911e32b..e2157e604 100644
--- a/test/Tests/Writers/LaTeX.hs
+++ b/test/Tests/Writers/LaTeX.hs
@@ -13,7 +13,7 @@ latex :: (ToPandoc a) => a -> String
latex = latexWithOpts def
latexListing :: (ToPandoc a) => a -> String
-latexListing = latexWithOpts def{ writerListings = True }
+latexListing = latexWithOpts def{ writerHighlightMethod = IdiomaticHighlighting }
latexWithOpts :: (ToPandoc a) => WriterOptions -> a -> String
latexWithOpts opts = unpack . purely (writeLaTeX opts) . toPandoc
diff --git a/test/command/1629.md b/test/command/1629.md
index 34d529b0d..43b9b827f 100644
--- a/test/command/1629.md
+++ b/test/command/1629.md
@@ -1,5 +1,5 @@
```
-% pandoc -t latex --listings
+% pandoc -t latex --syntax-highlighting=idiomatic
bla bla `a % b`
*bla bla `a % b`*
diff --git a/test/command/3422.md b/test/command/3422.md
index 19f1f4462..d0fbe209e 100644
--- a/test/command/3422.md
+++ b/test/command/3422.md
@@ -1,7 +1,7 @@
See #3422
```
-% pandoc -t latex --listings
+% pandoc -t latex --syntax-highlighting=idiomatic
`int main(int argc, const char *argv[]);`{.c}
^D
\passthrough{\lstinline[language=C]!int main(int argc, const char *argv[]);!}
diff --git a/test/command/5420.md b/test/command/5420.md
index b638fe5d2..17ce7e0e4 100644
--- a/test/command/5420.md
+++ b/test/command/5420.md
@@ -1,5 +1,5 @@
```
-% pandoc --listings -t latex
+% pandoc --syntax-highlighting=idiomatic -t latex
`int a = 1;`{.cpp style=cpp}
^D
\passthrough{\lstinline[language={C++}, style=cpp]!int a = 1;!}