From 108f1588d31c9f7b90f31b15be4489e6067982b0 Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Thu, 12 Apr 2012 08:23:05 +0200 Subject: Add golden test for hyperlinks --- tests/html-tests/tests/Hyperlinks.hs | 8 +++ tests/html-tests/tests/Hyperlinks.html.ref | 89 +++++++++++++++++++++++++ tests/html-tests/tests/mini_Hyperlinks.html.ref | 31 +++++++++ 3 files changed, 128 insertions(+) create mode 100644 tests/html-tests/tests/Hyperlinks.hs create mode 100644 tests/html-tests/tests/Hyperlinks.html.ref create mode 100644 tests/html-tests/tests/mini_Hyperlinks.html.ref (limited to 'tests/html-tests') diff --git a/tests/html-tests/tests/Hyperlinks.hs b/tests/html-tests/tests/Hyperlinks.hs new file mode 100644 index 00000000..34e64448 --- /dev/null +++ b/tests/html-tests/tests/Hyperlinks.hs @@ -0,0 +1,8 @@ +module Hyperlinks where + +-- | +-- A plain URL: +-- +-- A URL with a label: +foo :: Int +foo = 23 diff --git a/tests/html-tests/tests/Hyperlinks.html.ref b/tests/html-tests/tests/Hyperlinks.html.ref new file mode 100644 index 00000000..59ec6c26 --- /dev/null +++ b/tests/html-tests/tests/Hyperlinks.html.ref @@ -0,0 +1,89 @@ + +Hyperlinks
Safe HaskellNone

Hyperlinks

Synopsis

Documentation

foo :: Int

A plain URL: http://example.com/ +

A URL with a label: some link +

diff --git a/tests/html-tests/tests/mini_Hyperlinks.html.ref b/tests/html-tests/tests/mini_Hyperlinks.html.ref new file mode 100644 index 00000000..f0c7d65a --- /dev/null +++ b/tests/html-tests/tests/mini_Hyperlinks.html.ref @@ -0,0 +1,31 @@ + +Hyperlinks

Hyperlinks

-- cgit v1.2.3