summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-10-24 22:49:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-10-24 22:49:25 -0700
commite6866c1543b11b7b0301b0d5e4d0fd3603237c0b (patch)
tree6be25446b1bf65e3596ad7cfc1363bda02a548ca /test/Tests
parent4696af3125fb3af21026477fecd7845800dff764 (diff)
Rename T.P.Writers.Docbook -> T.P.Writers.DocBook.
Similarly, rename `writeDocbook` -> `writeDocBook`, for consistency with the DocBook reader's naming. [API change]
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Writers/DocBook.hs (renamed from test/Tests/Writers/Docbook.hs)6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Tests/Writers/Docbook.hs b/test/Tests/Writers/DocBook.hs
index a95140ac5..95111e364 100644
--- a/test/Tests/Writers/Docbook.hs
+++ b/test/Tests/Writers/DocBook.hs
@@ -1,5 +1,5 @@
{-# LANGUAGE OverloadedStrings #-}
-module Tests.Writers.Docbook (tests) where
+module Tests.Writers.DocBook (tests) where
import Data.Text (unpack)
import Test.Tasty
@@ -15,10 +15,10 @@ docbook5 :: (ToPandoc a) => a -> String
docbook5 = docbook5WithOpts def{ writerWrapText = WrapNone }
docbookWithOpts :: ToPandoc a => WriterOptions -> a -> String
-docbookWithOpts opts = unpack . purely (writeDocbook4 opts) . toPandoc
+docbookWithOpts opts = unpack . purely (writeDocBook4 opts) . toPandoc
docbook5WithOpts :: ToPandoc a => WriterOptions -> a -> String
-docbook5WithOpts opts = unpack . purely (writeDocbook5 opts) . toPandoc
+docbook5WithOpts opts = unpack . purely (writeDocBook5 opts) . toPandoc
{-
"my test" =: X =?> Y