From 5a9d7d20ddeebc164acdbb3b318df298417ad1ab Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 19 Feb 2018 19:23:30 +0300 Subject: Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags reader --- test/Tests/Readers/Txt2Tags.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/Tests') 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]" =?> -- cgit v1.2.3