From 653a83ac6cd246f9f06409af23b5a5377c6ee479 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Wed, 14 Mar 2018 12:18:26 +0100 Subject: Add fixture test for links --- haddock-library/fixtures/examples/link.input | 1 + haddock-library/fixtures/examples/link.parsed | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 haddock-library/fixtures/examples/link.input create mode 100644 haddock-library/fixtures/examples/link.parsed (limited to 'haddock-library') diff --git a/haddock-library/fixtures/examples/link.input b/haddock-library/fixtures/examples/link.input new file mode 100644 index 00000000..a55c05a6 --- /dev/null +++ b/haddock-library/fixtures/examples/link.input @@ -0,0 +1 @@ +[link](http://example.com) diff --git a/haddock-library/fixtures/examples/link.parsed b/haddock-library/fixtures/examples/link.parsed new file mode 100644 index 00000000..0e85338c --- /dev/null +++ b/haddock-library/fixtures/examples/link.parsed @@ -0,0 +1,5 @@ +DocParagraph + (DocHyperlink + Hyperlink + {hyperlinkLabel = Just "link", + hyperlinkUrl = "http://example.com"}) -- cgit v1.2.3