diff options
Diffstat (limited to 'tk/tests/imgPhoto.test')
-rw-r--r-- | tk/tests/imgPhoto.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tk/tests/imgPhoto.test b/tk/tests/imgPhoto.test index 5e71b41cbb5..9e33300c92a 100644 --- a/tk/tests/imgPhoto.test +++ b/tk/tests/imgPhoto.test @@ -78,6 +78,15 @@ test imgPhoto-1.7 {options for photo images} { test imgPhoto-1.8 {options for photo images} { list [catch {image create photo -blah blah} err] $err } {1 {unknown option "-blah"}} +test imgPhoto-1.9 {options for photo images - error case} { + list [catch {image create photo -format} err] $err +} {1 {value for "-format" missing}} +test imgPhoto-1.10 {options for photo images - error case} { + list [catch {image create photo -data} err] $err +} {1 {value for "-data" missing}} +test imgPhoto-1.11 {options for photo images - error case} { + list [catch {image create photo p1 -format} err] $err +} {1 {value for "-format" missing}} test imgPhoto-2.1 {ImgPhotoCreate procedure} { eval image delete [image names] |