git.iko.soy/typeable/pandoc
on master help sign in
Updated a test whose output changed due to last commit.
commit35e2caa05863002acb64ce34504fb4424d2bc441 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSat 13 Jul 2013, 13:47 (13 years ago) parent837a9bf
1 file changed+1−4
tests/Tests/Writers/HTML.hs+1−4
tests/Tests/Writers/HTML.hs+1−4
@@ -6,7 +6,6 @@ import Text.Pandoc.Builder
66import Text.Pandoc
77import Tests.Helpers
88import Tests.Arbitrary()
9−import Text.Highlighting.Kate (languages) -- null if no hl support
109
1110html :: (ToString a, ToPandoc a) => a -> String
1211html = writeHtmlString def{ writerWrapText = False } . toPandoc
@@ -32,9 +31,7 @@ tests :: [Test]
3231tests = [ testGroup "inline code"
3332 [ "basic" =: code "@&" =?> "<code>@&amp;</code>"
3433 , "haskell" =: codeWith ("",["haskell"],[]) ">>="
35− =?> if null languages
36− then "<code class=\"haskell\">&gt;&gt;=</code>"
37− else "<code class=\"sourceCode haskell\"><span class=\"fu\">&gt;&gt;=</span></code>"
34+ =?> "<code class=\"haskell\">&gt;&gt;=</code>"
3835 , "nolanguage" =: codeWith ("",["nolanguage"],[]) ">>="
3936 =?> "<code class=\"nolanguage\">&gt;&gt;=</code>"
4037 ]