This file is indexed.

/usr/share/doc/libghc-chell-doc/html/index.html is in libghc-chell-doc 0.4.0.1-6.

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
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!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>chell-0.4.0.1: A simple and intuitive library for automated testing.</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">chell-0.4.0.1: A simple and intuitive library for automated testing.</p></div><div id="content"><div id="description"><h1>chell-0.4.0.1: A simple and intuitive library for automated testing.</h1><div class="doc"><p>Chell is a simple and intuitive library for automated testing. It natively
supports assertion-based testing, and can use companion libraries
such as <code>chell-quickcheck</code> to support more complex testing strategies.</p><p>An example test suite, which verifies the behavior of artithmetic operators.</p><pre>{-# LANGUAGE TemplateHaskell #-}

import Test.Chell

tests_Math :: Suite
tests_Math = suite &quot;math&quot;
    [ test_Addition
    , test_Subtraction
    ]

test_Addition :: Test
test_Addition = assertions &quot;addition&quot; $ do
    $expect (equal (2 + 1) 3)
    $expect (equal (1 + 2) 3)

test_Subtraction :: Test
test_Subtraction = assertions &quot;subtraction&quot; $ do
    $expect (equal (2 - 1) 1)
    $expect (equal (1 - 2) (-1))

main :: IO ()
main = defaultMain [tests_Math]
</pre><pre>$ ghc --make chell-example.hs
$ ./chell-example
PASS: 2 tests run, 2 tests passed
</pre></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Test</span><ul id="section.n.1" class="show"><li><span class="module"><a href="Test-Chell.html">Test.Chell</a></span></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>