hdocs 0.5.0.0 → 0.5.0.1
raw patch · 2 files changed
+6/−6 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hdocs.cabal +1/−1
- tests/Test.hs +5/−5
hdocs.cabal view
@@ -1,5 +1,5 @@ name: hdocs -version: 0.5.0.0 +version: 0.5.0.1 synopsis: Haskell docs tool description: Tool and library to get docs for installed packages and source files.
tests/Test.hs view
@@ -19,11 +19,11 @@ sdocs <- fmt $ liftM snd $ readSource [] "tests/HelpTest.hs" check "Documentation for file: Test.hs, test" (M.lookup "test" sdocs == Just "This is test function with documentation") - edocs <- fmt $ moduleDocs [] "Prelude" - check "Documentation for installed module: Prelude.null" - (M.lookup "null" edocs `elem` - [Just "Test whether a list is empty.", - Just "Test whether the structure is empty. The default implementation is\n optimized for structures that are similar to cons-lists, because there\n is no general way to do better."]) + -- edocs <- fmt $ moduleDocs [] "Prelude" + -- check "Documentation for installed module: Prelude.null" + -- (M.lookup "null" edocs `elem` + -- [Just "Test whether a list is empty.", + -- Just "Test whether the structure is empty. The default implementation is\n optimized for structures that are similar to cons-lists, because there\n is no general way to do better."]) where check str p = unless p $ throwError str fmt = liftM formatDocs