diff options
Diffstat (limited to 'tests/html-tests')
| -rw-r--r-- | tests/html-tests/tests/DeprecatedReExport.hs | 15 | ||||
| -rw-r--r-- | tests/html-tests/tests/DeprecatedReExport.html.ref | 46 | ||||
| -rw-r--r-- | tests/html-tests/tests/mini_DeprecatedReExport.html.ref | 8 | 
3 files changed, 65 insertions, 4 deletions
diff --git a/tests/html-tests/tests/DeprecatedReExport.hs b/tests/html-tests/tests/DeprecatedReExport.hs index 10a8c6a2..f851e2ff 100644 --- a/tests/html-tests/tests/DeprecatedReExport.hs +++ b/tests/html-tests/tests/DeprecatedReExport.hs @@ -1,3 +1,16 @@ -module DeprecatedReExport (foo) where +-- | +-- What is tested here: +-- +-- * Deprecation messages are shown for re-exported items. +-- +module DeprecatedReExport ( +-- * Re-exported from an other module +  foo +-- * Re-exported from an other package +-- | Not yet working, see <http://trac.haskell.org/haddock/ticket/223> +-- , isEmptyChan +, +) where  import DeprecatedFunction +import Control.Concurrent.Chan diff --git a/tests/html-tests/tests/DeprecatedReExport.html.ref b/tests/html-tests/tests/DeprecatedReExport.html.ref index 17988951..611c181d 100644 --- a/tests/html-tests/tests/DeprecatedReExport.html.ref +++ b/tests/html-tests/tests/DeprecatedReExport.html.ref @@ -41,6 +41,36 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedReExport.htm  	><p class="caption"  	>DeprecatedReExport</p  	></div +      ><div id="table-of-contents" +      ><p class="caption" +	>Contents</p +	><ul +	><li +	  ><a href="" +	    >Re-exported from an other module +</a +	    ></li +	  ><li +	  ><a href="" +	    >Re-exported from an other package +</a +	    ></li +	  ></ul +	></div +      ><div id="description" +      ><p class="caption" +	>Description</p +	><div class="doc" +	><p +	  >What is tested here: +</p +	  ><ul +	  ><li +	    > Deprecation messages are shown for re-exported items. +</li +	    ></ul +	  ></div +	></div        ><div id="synopsis"        ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')"  	>Synopsis</p @@ -54,8 +84,9 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedReExport.htm  	  ></ul  	></div        ><div id="interface" -      ><h1 -	>Documentation</h1 +      ><h1 id="g:1" +	>Re-exported from an other module +</h1  	><div class="top"  	><p class="src"  	  ><a name="v:foo" class="def" @@ -78,6 +109,17 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedReExport.htm  </p  	    ></div  	  ></div +	><h1 id="g:2" +	>Re-exported from an other package +</h1 +	><div class="doc" +	><p +	  >Not yet working, see <a href="" +	    >http://trac.haskell.org/haddock/ticket/223</a +	    > + , isEmptyChan +</p +	  ></div  	></div        ></div      ><div id="footer" diff --git a/tests/html-tests/tests/mini_DeprecatedReExport.html.ref b/tests/html-tests/tests/mini_DeprecatedReExport.html.ref index de5dcf95..8316dda5 100644 --- a/tests/html-tests/tests/mini_DeprecatedReExport.html.ref +++ b/tests/html-tests/tests/mini_DeprecatedReExport.html.ref @@ -19,12 +19,18 @@ window.onload = function () {pageLoad();};        >DeprecatedReExport</p        ></div      ><div id="interface" -    ><div class="top" +    ><h1 +      >Re-exported from an other module +</h1 +      ><div class="top"        ><p class="src"  	><a href="" target="main"  	  >foo</a  	  ></p  	></div +      ><h1 +      >Re-exported from an other package +</h1        ></div      ></body    ></html  | 
