aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-03-25 18:30:32 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-03-25 18:31:28 +0300
commitc24c9efd98513cdaf759a819217c942ca67dcc54 (patch)
treecea82eb7d1c06b6f68709629298792423d5dc8bc /test/Tests/Writers
parentc6232d0f7d4aa18db4870b1fdb8ba701822e2889 (diff)
downloadpandoc-c24c9efd98513cdaf759a819217c942ca67dcc54.tar.gz
Muse writer: enable --wrap=preserve for all tests by default
Diffstat (limited to 'test/Tests/Writers')
-rw-r--r--test/Tests/Writers/Muse.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index c3a6a9d62..3c5d1511a 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -10,7 +10,7 @@ import Text.Pandoc.Arbitrary ()
import Text.Pandoc.Builder
muse :: (ToPandoc a) => a -> String
-muse = museWithOpts def{ writerWrapText = WrapNone,
+muse = museWithOpts def{ writerWrapText = WrapPreserve,
writerExtensions = extensionsFromList [Ext_amuse,
Ext_auto_identifiers] }
@@ -344,10 +344,10 @@ tests = [ testGroup "block elements"
]
, testGroup "spaces"
[ "space" =: text "a" <> space <> text "b" =?> "a b"
- , "soft break" =: text "a" <> softbreak <> text "b" =?> "a b"
- , test (museWithOpts def{ writerWrapText = WrapPreserve })
- "preserve soft break" $ text "a" <> softbreak <> text "b"
- =?> "a\nb"
+ , "soft break" =: text "a" <> softbreak <> text "b" =?> "a\nb"
+ , test (museWithOpts def{ writerWrapText = WrapNone })
+ "remove soft break" $ text "a" <> softbreak <> text "b"
+ =?> "a b"
, "line break" =: text "a" <> linebreak <> text "b" =?> "a<br>\nb"
]
, testGroup "math"