aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2019-01-01 22:06:44 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2019-01-01 22:06:44 +0100
commit2f92261d877c50d1909ae58c135700b35ffc111e (patch)
treee14c0590410afb74a08dd81b539308ec338c9bc8 /test
parentc0caaaeabb3646d6156a0857e250969b4244cdc5 (diff)
downloadpandoc-2f92261d877c50d1909ae58c135700b35ffc111e.tar.gz
Org reader: fix self-link parsing regression
Fixes a regression introduced by the previous commit.
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Org/Inline.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Inline.hs b/test/Tests/Readers/Org/Inline.hs
index 7f8873642..e5996d4d8 100644
--- a/test/Tests/Readers/Org/Inline.hs
+++ b/test/Tests/Readers/Org/Inline.hs
@@ -215,6 +215,10 @@ tests =
"[[http://zeitlens.com/]]" =?>
para (link "http://zeitlens.com/" "" "http://zeitlens.com/")
+ , "Internal self-link (reference)" =:
+ "[[#rabbit]]" =?>
+ para (link "#rabbit" "" "#rabbit")
+
, "Absolute file link" =:
"[[/url][hi]]" =?>
para (link "file:///url" "" "hi")