diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wm.test | 3 |
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 |