aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-04-15 14:50:46 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-04-15 14:50:46 +0300
commit9cc2bf0295a66182223c9ec421a4755d1acebeb1 (patch)
tree591dffaed622060bff681077034d2cddd43de359 /test/Tests
parent6be013914513d2dd8ef7f141b1e3fd59cee7d3f7 (diff)
downloadpandoc-9cc2bf0295a66182223c9ec421a4755d1acebeb1.tar.gz
Muse reader: allow URL to be empty
Muse writer can write links with empty URLs, so Muse reader should read them.
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Muse.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index 188036a09..11ec9464f 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -209,6 +209,7 @@ tests =
-- This test also makes sure '=' without whitespace is not treated as code markup
, "No implicit links" =: "http://example.org/index.php?action=view&id=1"
=?> para "http://example.org/index.php?action=view&id=1"
+ , "Link with empty URL" =: "[[][empty URL]]" =?> para (link "" "" (text "empty URL"))
]
, testGroup "Literal"