aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Helpers.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Tests/Helpers.hs b/tests/Tests/Helpers.hs
index 86a92fb0c..5769a4985 100644
--- a/tests/Tests/Helpers.hs
+++ b/tests/Tests/Helpers.hs
@@ -17,7 +17,7 @@ import Test.Framework
import Test.Framework.Providers.HUnit
import Test.Framework.Providers.QuickCheck2
import Test.HUnit (assertBool)
-import Text.Pandoc.Shared (normalize, removeTrailingSpace)
+import Text.Pandoc.Shared (normalize, trimr)
import Text.Pandoc.Options
import Text.Pandoc.Writers.Native (writeNative)
import Language.Haskell.TH.Quote (QuasiQuoter(..))
@@ -94,7 +94,7 @@ instance ToString Blocks where
toString = writeNative def . toPandoc
instance ToString Inlines where
- toString = removeTrailingSpace . writeNative def . toPandoc
+ toString = trimr . writeNative def . toPandoc
instance ToString String where
toString = id