summaryrefslogtreecommitdiffstats
path: root/tests/imgSVGnano.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-05-10 21:03:44 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-05-10 21:03:44 (GMT)
commitc3e5b11af87fda44b0ca570f6e266de2b9e0e172 (patch)
treec287fc194cd6e61c53852a46db83eb005ef8111a /tests/imgSVGnano.test
parent50b390e8c37fc97708f980d5cdd9fb5480b64e4c (diff)
downloadtk-c3e5b11af87fda44b0ca570f6e266de2b9e0e172.zip
tk-c3e5b11af87fda44b0ca570f6e266de2b9e0e172.tar.gz
tk-c3e5b11af87fda44b0ca570f6e266de2b9e0e172.tar.bz2
Fix [0d93f2e628]: misleading error message on missed svg option
Diffstat (limited to 'tests/imgSVGnano.test')
-rw-r--r--tests/imgSVGnano.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/imgSVGnano.test b/tests/imgSVGnano.test
index 74c3318..1cd603c 100644
--- a/tests/imgSVGnano.test
+++ b/tests/imgSVGnano.test
@@ -78,7 +78,8 @@ test imgSVGnano-2.1 {reading a bad image} -body {
} -returnCodes error -result {couldn't recognize image data}
test imgSVGnano-2.2 {using bad option} -body {
image create photo -data $data(plus) -format {svg -scale 0}
-} -returnCodes error -result {couldn't recognize image data}
+} -returnCodes error -result {couldn't recognize image data
+-scale value must be positive}
};# end of namespace svgnano