summaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/HTML.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-07-13 13:47:09 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-07-13 13:47:09 -0700
commit35e2caa05863002acb64ce34504fb4424d2bc441 (patch)
treecb02da8ffecbfb0aed0bc837a1500340e45c59ec /tests/Tests/Writers/HTML.hs
parent837a9bf87a3768b9427977eb8a19c1b154fc9c9c (diff)
Updated a test whose output changed due to last commit.
Diffstat (limited to 'tests/Tests/Writers/HTML.hs')
-rw-r--r--tests/Tests/Writers/HTML.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/Tests/Writers/HTML.hs b/tests/Tests/Writers/HTML.hs
index 1693f2fc1..84f4db191 100644
--- a/tests/Tests/Writers/HTML.hs
+++ b/tests/Tests/Writers/HTML.hs
@@ -6,7 +6,6 @@ import Text.Pandoc.Builder
import Text.Pandoc
import Tests.Helpers
import Tests.Arbitrary()
-import Text.Highlighting.Kate (languages) -- null if no hl support
html :: (ToString a, ToPandoc a) => a -> String
html = writeHtmlString def{ writerWrapText = False } . toPandoc
@@ -32,9 +31,7 @@ tests :: [Test]
tests = [ testGroup "inline code"
[ "basic" =: code "@&" =?> "<code>@&amp;</code>"
, "haskell" =: codeWith ("",["haskell"],[]) ">>="
- =?> if null languages
- then "<code class=\"haskell\">&gt;&gt;=</code>"
- else "<code class=\"sourceCode haskell\"><span class=\"fu\">&gt;&gt;=</span></code>"
+ =?> "<code class=\"haskell\">&gt;&gt;=</code>"
, "nolanguage" =: codeWith ("",["nolanguage"],[]) ">>="
=?> "<code class=\"nolanguage\">&gt;&gt;=</code>"
]