aboutsummaryrefslogtreecommitdiff
path: root/haddock-library
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2018-03-14 12:18:26 +0100
committerAlexander Biehl <alexbiehl@gmail.com>2018-03-14 20:39:29 +0100
commit653a83ac6cd246f9f06409af23b5a5377c6ee479 (patch)
tree3f2959a75d2a369e1a3f2eb8262fa7414fea320d /haddock-library
parente19e1a36ee42c3bff3a9dc0b8858537c2ba8725e (diff)
Add fixture test for links
Diffstat (limited to 'haddock-library')
-rw-r--r--haddock-library/fixtures/examples/link.input1
-rw-r--r--haddock-library/fixtures/examples/link.parsed5
2 files changed, 6 insertions, 0 deletions
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"})