/usr/share/doc/libghc-tasty-golden-doc/html/Test-Tasty-Golden-Manage.html is in libghc-tasty-golden-doc 2.3.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Test.Tasty.Golden.Manage</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Test-Tasty-Golden-Manage.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Test-Tasty-Golden-Manage.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">tasty-golden-2.3.1: Golden tests support for tasty</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Test.Tasty.Golden.Manage</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Command line helpers</a></li><li><a href="#g:2">The ingredient</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Previously, accepting tests (by the <code>--accept</code> flag) was done by this
module, and there was an ingredient to handle that mode.</p><p>Now it's done as part of a normal test run. When the `--accept` flag is
given, it makes golden tests to update the files whenever there is
a mismatch. So you no longer need this module. It remains only for
backwards compatibility.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:defaultMain">defaultMain</a> :: <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Providers.html#t:TestTree">TestTree</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:acceptingTests">acceptingTests</a> :: <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Ingredients.html#t:Ingredient">Ingredient</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:AcceptTests">AcceptTests</a> = <a href="#v:AcceptTests">AcceptTests</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">Command line helpers</h1><div class="top"><p class="src"><a name="v:defaultMain" class="def">defaultMain</a> :: <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Providers.html#t:TestTree">TestTree</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Test-Tasty-Golden-Manage.html#defaultMain" class="link">Source</a></p><div class="doc"><p>This exists only for backwards compatibility. Use
<code><a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty.html#v:defaultMain">defaultMain</a></code> instead.</p></div></div><h1 id="g:2">The ingredient</h1><div class="top"><p class="src"><a name="v:acceptingTests" class="def">acceptingTests</a> :: <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Ingredients.html#t:Ingredient">Ingredient</a> <a href="src/Test-Tasty-Golden-Manage.html#acceptingTests" class="link">Source</a></p><div class="doc"><p>This exists only for backwards compatibility. You don't need to
include this anymore.</p></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:AcceptTests" class="def">AcceptTests</a> <a href="src/Test-Tasty-Golden-Internal.html#AcceptTests" class="link">Source</a></p><div class="doc"><p>This option, when set to <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code>, specifies that we should run in the
«accept tests» mode</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AcceptTests" class="def">AcceptTests</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:AcceptTests" class="caption collapser" onclick="toggleSection('i:AcceptTests')">Instances</p><div id="section.i:AcceptTests" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Test-Tasty-Golden-Manage.html#t:AcceptTests">AcceptTests</a></span> <a href="src/Test-Tasty-Golden-Internal.html#line-28" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Test-Tasty-Golden-Manage.html#t:AcceptTests">AcceptTests</a></span> <a href="src/Test-Tasty-Golden-Internal.html#line-28" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Options.html#t:IsOption">IsOption</a> <a href="Test-Tasty-Golden-Manage.html#t:AcceptTests">AcceptTests</a></span> <a href="src/Test-Tasty-Golden-Internal.html#line-29" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|