pandoc/tests/Tests/Writers/Plain.hs

22 lines
453 B
Haskell
Raw Normal View History

{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.Plain (tests) where
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
import Tests.Helpers
import Tests.Arbitrary()
infix 4 =:
(=:) :: (ToString a, ToPandoc a)
=> String -> (a, String) -> Test
(=:) = test (writePlain def . toPandoc)
tests :: [Test]
tests = [ "strongly emphasized text to uppercase"
=: strong "Straße"
=?> "STRASSE"
]