From e44fc547a5d0ef67c68011c23563fd82320bc2aa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 1 Apr 2015 17:03:00 -0700 Subject: Updated tests for image attribute changes. --- tests/mediawiki-reader.native | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tests/mediawiki-reader.native') diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native index 2f508c32f..d03182146 100644 --- a/tests/mediawiki-reader.native +++ b/tests/mediawiki-reader.native @@ -84,11 +84,13 @@ Pandoc (Meta {unMeta = fromList []}) ,Para [Link [Str "#My",Space,Str "anchor"] ("#My_anchor","wikilink")] ,Para [Link [Str "and",Space,Str "text"] ("Page#with_anchor","wikilink")] ,Header 2 ("images",[],[]) [Str "images"] -,Para [Image [Str "caption"] ("example.jpg","fig:caption")] -,Para [Image [Str "the",Space,Emph [Str "caption"],Space,Str "with",Space,Link [Str "external",Space,Str "link"] ("http://google.com","")] ("example.jpg","fig:the caption with external link")] -,Para [Image [Str "caption"] ("example.jpg","fig:caption")] -,Para [Image [Str "example.jpg"] ("example.jpg","fig:example.jpg")] -,Para [Image [Str "example_es.jpg"] ("example_es.jpg","fig:example_es.jpg")] +,Para [Image ("",[],[]) [Str "caption"] ("example.jpg","fig:caption")] +,Para [Image ("",[],[]) [Str "the",Space,Emph [Str "caption"],Space,Str "with",Space,Link ("",[],[]) [Str "external",Space,Str "link"] ("http://google.com","")] ("example.jpg","fig:the caption with external link")] +,Para [Image ("",[],[("width","30"),("height","40")]) [Str "caption"] ("example.jpg","fig:caption")] +,Para [Image ("",[],[("width","30")]) [Str "caption"] ("example.jpg","fig:caption")] +,Para [Image ("",[],[("width","30")]) [Str "caption"] ("example.jpg","fig:caption")] +,Para [Image ("",[],[]) [Str "example.jpg"] ("example.jpg","fig:example.jpg")] +,Para [Image ("",[],[]) [Str "example_es.jpg"] ("example_es.jpg","fig:example_es.jpg")] ,Header 2 ("lists",[],[]) [Str "lists"] ,BulletList [[Plain [Str "Start",Space,Str "each",Space,Str "line"]] -- cgit v1.2.3