From 2760e0baecf9c747a977c7f3b8a47ea95acb7824 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 26 Nov 2011 19:56:21 +0100 Subject: Update tests. --- tests/html-tests/tests/A.hs | 6 +++ tests/html-tests/tests/A.html.ref | 16 ++++++++ tests/html-tests/tests/B.hs | 9 +++- tests/html-tests/tests/B.html.ref | 52 ++++++++++++++++++++++++ tests/html-tests/tests/CrossPackageDocs.html.ref | 8 +++- 5 files changed, 87 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/html-tests/tests/A.hs b/tests/html-tests/tests/A.hs index 4a344a24..ac8fad49 100644 --- a/tests/html-tests/tests/A.hs +++ b/tests/html-tests/tests/A.hs @@ -1,2 +1,8 @@ module A where data A = A + +other :: Int +other = 2 + +test2 :: Bool +test2 = False diff --git a/tests/html-tests/tests/A.html.ref b/tests/html-tests/tests/A.html.ref index cb25ba99..63d56c36 100644 --- a/tests/html-tests/tests/A.html.ref +++ b/tests/html-tests/tests/A.html.ref @@ -66,6 +66,22 @@ window.onload = function () {pageLoad();setSynopsis("mini_A.html");}; >

other :: Int

test2 :: Bool

Synopsis

Documentation

A

test :: Int

This link shouldn't work: other. + These links should work: other, sortBy, test2, test2, fromMaybe. +