aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-02-20 21:42:12 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-02-20 21:42:12 -0800
commite369e60fb457df56cf81a84b5114818dfb023144 (patch)
tree73ae8cd4c96d198624f9e0c2b423c361c0a0fae9 /tests/Tests/Readers
parent1534052dd9c0336da149b79440c7d46714592e31 (diff)
parent92e6ae47f6cf8e0753d282dcc9020f88044d6101 (diff)
downloadpandoc-e369e60fb457df56cf81a84b5114818dfb023144.tar.gz
Merge pull request #2691 from tarleb/org-image-file-links
Org reader: Refactor link-target processing
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r--tests/Tests/Readers/Org.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index bb3bffe22..8e255160f 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -190,6 +190,10 @@ tests =
"[[./sunset.jpg]]" =?>
(para $ image "./sunset.jpg" "" "")
+ , "Image with explicit file: prefix" =:
+ "[[file:sunrise.jpg]]" =?>
+ (para $ image "sunrise.jpg" "" "")
+
, "Explicit link" =:
"[[http://zeitlens.com/][pseudo-random /nonsense/]]" =?>
(para $ link "http://zeitlens.com/" ""