summaryrefslogtreecommitdiff
path: root/test/Tests/Writers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-02-03 18:36:38 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-02-03 18:36:38 +0300
commitd777fe8bbecc3320cf95754dbe7f9eee21876770 (patch)
tree85140ff0b5b65bef900ccb02957041986cd030ab /test/Tests/Writers
parenteeafb3fa773e992174dd460d093653cd77255ce5 (diff)
Muse writer: write image width specified in percent in Text::Amuse mode
Diffstat (limited to 'test/Tests/Writers')
-rw-r--r--test/Tests/Writers/Muse.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index f330d14c5..a7d6b76ba 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -351,6 +351,9 @@ tests = [ testGroup "block elements"
=?> "[[URL:1.png]]"
]
, "image" =: image "image.png" "Image 1" (str "") =?> "[[image.png][Image 1]]"
+ , "image with width" =:
+ imageWith ("", [], [("width", "60%")]) "image.png" "Image" (str "") =?>
+ "[[image.png 60][Image]]"
, "note" =: note (plain (text "Foo"))
=?> unlines [ "[1]"
, ""