diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-02-19 19:23:30 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-02-19 19:23:30 +0300 |
commit | 5a9d7d20ddeebc164acdbb3b318df298417ad1ab (patch) | |
tree | 504c72f28f433bcd18ce2c2bd810daf8d16cc410 /test | |
parent | 574104861f13997effb36f8e3483dfd7c7d01cd7 (diff) | |
download | pandoc-5a9d7d20ddeebc164acdbb3b318df298417ad1ab.tar.gz |
Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags reader
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Readers/Txt2Tags.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Tests/Readers/Txt2Tags.hs b/test/Tests/Readers/Txt2Tags.hs index 9c5053af7..435d983a1 100644 --- a/test/Tests/Readers/Txt2Tags.hs +++ b/test/Tests/Readers/Txt2Tags.hs @@ -96,9 +96,12 @@ tests = , "Autolink" =: "http://www.google.com" =?> para (link "http://www.google.com" "" (str "http://www.google.com")) - , "Image" =: + , "JPEG Image" =: "[image.jpg]" =?> para (image "image.jpg" "" mempty) + , "PNG Image" =: + "[image.png]" =?> + para (image "image.png" "" mempty) , "Link" =: "[title http://google.com]" =?> |