[commit: haddock] ghc-7.6: Add description for PruneWithWarning test (ab6e43c)

Simon Hengel <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/ab6e43c21e9eb22a4538303c1728c4e8d2f35f24

>---------------------------------------------------------------

commit ab6e43c21e9eb22a4538303c1728c4e8d2f35f24
Author: Simon Hengel <[email protected]>
Date:   Sun Oct 14 14:13:24 2012 +0200

    Add description for PruneWithWarning test

>---------------------------------------------------------------

 .../tests/DeprecationMessageParseError.hs          |    4 ++--
 .../tests/DeprecationMessageParseError.html.ref    |    4 ++--
 tests/html-tests/tests/PruneWithWarning.hs         |    6 ++++++
 tests/html-tests/tests/PruneWithWarning.html.ref   |   17 +++++++++++++++++
 4 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/tests/html-tests/tests/DeprecationMessageParseError.hs b/tests/html-tests/tests/DeprecationMessageParseError.hs
index 5f0b871..2f8fb49 100644
--- a/tests/html-tests/tests/DeprecationMessageParseError.hs
+++ b/tests/html-tests/tests/DeprecationMessageParseError.hs
@@ -1,8 +1,8 @@
 -- |
 -- What is tested here:
 --
--- * if parsing of a deprecation message fails, the message is included
---   verbatim
+-- * If parsing of a deprecation message fails, the message is included
+--   verbatim.
 --
 module DeprecationMessageParseError where
 
diff --git a/tests/html-tests/tests/DeprecationMessageParseError.html.ref b/tests/html-tests/tests/DeprecationMessageParseError.html.ref
index b4ea426..75f9bf5 100644
--- a/tests/html-tests/tests/DeprecationMessageParseError.html.ref
+++ b/tests/html-tests/tests/DeprecationMessageParseError.html.ref
@@ -50,8 +50,8 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecationMessagePars
 </p
 	  ><ul
 	  ><li
-	    > if parsing of a deprecation message fails, the message is included
-   verbatim
+	    > If parsing of a deprecation message fails, the message is included
+   verbatim.
 </li
 	    ></ul
 	  ></div
diff --git a/tests/html-tests/tests/PruneWithWarning.hs b/tests/html-tests/tests/PruneWithWarning.hs
index fefe81f..bfa55ea 100644
--- a/tests/html-tests/tests/PruneWithWarning.hs
+++ b/tests/html-tests/tests/PruneWithWarning.hs
@@ -1,4 +1,10 @@
 {-# OPTIONS_HADDOCK prune #-}
+-- |
+-- What is tested here:
+--
+-- * If a binding has a deprecation message but no documentation, it is pruned
+--   when @OPTIONS_HADDOCK prune@ is used.
+--
 module PruneWithWarning (foo, bar) where
 
 foo :: Int
diff --git a/tests/html-tests/tests/PruneWithWarning.html.ref b/tests/html-tests/tests/PruneWithWarning.html.ref
index 2d6ef69..3c31fbd 100644
--- a/tests/html-tests/tests/PruneWithWarning.html.ref
+++ b/tests/html-tests/tests/PruneWithWarning.html.ref
@@ -41,6 +41,23 @@ window.onload = function () {pageLoad();setSynopsis("mini_PruneWithWarning.html"
 	><p class="caption"
 	>PruneWithWarning</p
 	></div
+      ><div id="description"
+      ><p class="caption"
+	>Description</p
+	><div class="doc"
+	><p
+	  >What is tested here:
+</p
+	  ><ul
+	  ><li
+	    > If a binding has a deprecation message but no documentation, it is pruned
+   when <code
+	      >OPTIONS_HADDOCK prune</code
+	      > is used.
+</li
+	    ></ul
+	  ></div
+	></div
       ><div id="interface"
       ></div
       ></div
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.