aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/LaTeX.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests/Readers/LaTeX.hs')
-rw-r--r--test/Tests/Readers/LaTeX.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Tests/Readers/LaTeX.hs b/test/Tests/Readers/LaTeX.hs
index 8fedc0978..ba9b8e289 100644
--- a/test/Tests/Readers/LaTeX.hs
+++ b/test/Tests/Readers/LaTeX.hs
@@ -130,6 +130,9 @@ tests = [ testGroup "basic"
, "Image width relative to textsize" =:
"\\includegraphics[width=0.6\\textwidth]{foo.png}" =?>
para (imageWith ("", [], [("width", "60%")]) "foo.png" "" "image")
+ , "Image with options with spaces" =:
+ "\\includegraphics[width=12cm, height = 5cm]{foo.png}" =?>
+ para (imageWith ("", [], [("width", "12cm"), ("height", "5cm")]) "foo.png" "" "image")
]
, let hex = ['0'..'9']++['a'..'f'] in