summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-11-10 20:03:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-11-10 20:03:21 (GMT)
commit2d08ff857a9a0a9afc14825e7d33208a115e38dd (patch)
tree71b9d0f2692b901ce1a36e24183e5f3fd7ddda84 /tests/wm.test
parentc6c3908ad15bb2ad9eb39b2b5177f601fe692d61 (diff)
downloadtk-2d08ff857a9a0a9afc14825e7d33208a115e38dd.zip
tk-2d08ff857a9a0a9afc14825e7d33208a115e38dd.tar.gz
tk-2d08ff857a9a0a9afc14825e7d33208a115e38dd.tar.bz2
Add platform-independent test wm-iconphoto-1.5
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/wm.test b/tests/wm.test
index c2bc385..b5ef92a 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -873,6 +873,9 @@ test wm-iconphoto-1.4 {usage} -returnCodes error -body {
# we currently have no return info
wm iconphoto . -default
} -result {wrong # args: should be "wm iconphoto window ?-default? image1 ?image2 ...?"}
+test wm-iconphoto-1.5 {usage} -returnCodes error -body {
+ wm iconphoto . -default [image create photo -file {}]
+} -result {failed to create an iconphoto with image "image1"}
# All other iconphoto tests are platform specific