aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test/Main.hs
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-21 19:51:24 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-22 23:40:28 +0200
commit2555cc37c9e9c0eeb9f7fbddb9599bb6fae3e982 (patch)
tree0e70ab803fc4a4ab5c7170b381ad96bb90873926 /hypsrc-test/Main.hs
parent391225eea26bb2484cbf49d0ca5964ab3176b974 (diff)
Refactor existing code to use XHTML printer instead of XML one.
Diffstat (limited to 'hypsrc-test/Main.hs')
-rw-r--r--hypsrc-test/Main.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/hypsrc-test/Main.hs b/hypsrc-test/Main.hs
index 06cf8546..0490be47 100644
--- a/hypsrc-test/Main.hs
+++ b/hypsrc-test/Main.hs
@@ -11,10 +11,10 @@ import Test.Haddock
import Test.Haddock.Xhtml
-checkConfig :: CheckConfig Xhtml
+checkConfig :: CheckConfig Xml
checkConfig = CheckConfig
- { ccfgRead = \_ input -> strip <$> parseXhtml input
- , ccfgDump = dumpXhtml
+ { ccfgRead = \_ input -> strip <$> parseXml input
+ , ccfgDump = dumpXml
, ccfgEqual = (==)
}
where