diff options
author | Yan Pashkovsky <Yanpas@users.noreply.github.com> | 2018-05-09 19:48:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 19:48:34 +0300 |
commit | a337685fe0ab9c63b9456f27787bbe4f0d785a94 (patch) | |
tree | e9fc4dfc0802f8acd97f06a8cc8d7c89b5a988ab /test/Tests/Writers/FB2.hs | |
parent | 8e9973b9f761262b6871206f741ac3f2a25aa6bb (diff) | |
parent | 5f33d2e0cd9f19566904c93be04f586de811dd75 (diff) | |
download | pandoc-a337685fe0ab9c63b9456f27787bbe4f0d785a94.tar.gz |
Merge branch 'master' into groff_reader
Diffstat (limited to 'test/Tests/Writers/FB2.hs')
-rw-r--r-- | test/Tests/Writers/FB2.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Tests/Writers/FB2.hs b/test/Tests/Writers/FB2.hs index 6663c42f8..7699c58e9 100644 --- a/test/Tests/Writers/FB2.hs +++ b/test/Tests/Writers/FB2.hs @@ -1,6 +1,8 @@ +{-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} module Tests.Writers.FB2 (tests) where +import Prelude import Test.Tasty import Tests.Helpers import Text.Pandoc @@ -23,8 +25,8 @@ tests = [ testGroup "block elements" ] , testGroup "inlines" [ - "Emphasis" =: emph "emphasized" - =?> fb2 "<emphasis>emphasized</emphasis>" + "Emphasis" =: para (emph "emphasized") + =?> fb2 "<p><emphasis>emphasized</emphasis></p>" ] , "bullet list" =: bulletList [ plain $ text "first" , plain $ text "second" |