This file is indexed.

/usr/share/doc/libghc-tasty-golden-doc/html/Test-Tasty-Golden-Advanced.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
<!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.Advanced</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-Advanced.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Test-Tasty-Golden-Advanced.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.Advanced</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">The main function</a></li></ul></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:goldenTest">goldenTest</a> :: <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Providers.html#t:TestName">TestName</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a -&gt; (a -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>)) -&gt; (a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()) -&gt; <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Providers.html#t:TestTree">TestTree</a></li></ul></div><div id="interface"><h1 id="g:1">The main function</h1><div class="top"><p class="src"><a name="v:goldenTest" class="def">goldenTest</a> <a href="src/Test-Tasty-Golden-Advanced.html#goldenTest" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Providers.html#t:TestName">TestName</a></td><td class="doc"><p>test name</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p>get the golden correct value</p><p>Note that this action may be followed by the update function call.</p><p>Therefore, this action *should avoid* reading the file lazily;
 otherwise, the file may remain half-open and the update action will
 fail.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p>get the tested value</p></td></tr><tr><td class="src">-&gt; (a -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>))</td><td class="doc"><p>comparison function.</p><p>If two values are the same, it should return <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code>. If they are
 different, it should return an error that will be printed to the user.
 First argument is the golden value.</p><p>The function may use <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code>, for example, to launch an external <code>diff</code>
 command.</p></td></tr><tr><td class="src">-&gt; (a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ())</td><td class="doc"><p>update the golden file</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-tasty-doc/html/Test-Tasty-Providers.html#t:TestTree">TestTree</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>A very general testing function.</p></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>