diff options
Diffstat (limited to 'tests/imgPhoto.test')
-rw-r--r-- | tests/imgPhoto.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test index eba3355..8ab555f 100644 --- a/tests/imgPhoto.test +++ b/tests/imgPhoto.test @@ -337,7 +337,7 @@ test imgPhoto-4.6 {ImgPhotoCmd procedure: configure option} -setup { llength [photo1 configure] } -cleanup { image delete photo1 -} -result 7 +} -result 8 test imgPhoto-4.7 {ImgPhotoCmd procedure: configure option} -setup { image create photo photo1 } -body { @@ -579,7 +579,7 @@ test imgPhoto-4.31 {ImgPhotoCmd procedure: read option} -constraints { photo1 read $teapotPhotoFile -zoom 2 } -returnCodes error -cleanup { image delete photo1 -} -result {unrecognized option "-zoom": must be -format, -from, -shrink, or -to} +} -result {unrecognized option "-zoom": must be -format, -from, -shrink, -to or -metadata} test imgPhoto-4.32 {ImgPhotoCmd procedure: read option} -setup { image create photo photo1 } -body { @@ -1096,13 +1096,13 @@ test imgPhoto-4.90 {ImgPhotoCmd put: existing but not allowed opt} -setup { } -cleanup { imageCleanup } -returnCodes error -result \ - {unrecognized option "-from": must be -format, or -to} + {unrecognized option "-from": must be -format, -to, or -metadata} test imgPhoto-4.91 {ImgPhotoCmd put: invalid option} -setup { image create photo photo1 } -body { photo1 put {{0 1 2 3}} -bogus x } -returnCodes error -result \ - {unrecognized option "-bogus": must be -format, or -to} + {unrecognized option "-bogus": must be -format, -to, or -metadata} test imgPhoto-4.92 {ImgPhotocmd put: missing data} -setup { image create photo photo1 } -body { @@ -1242,7 +1242,7 @@ test imgPhoto-4.104 {ImgPhotoCmd data: existing but not accepted opt} -setup { } -cleanup { imageCleanup } -returnCodes error -result \ -{unrecognized option "-to": must be -background, -format, -from, or -grayscale} +{unrecognized option "-to": must be -background, -format, -from, -grayscale} test imgPhoto-4.105 {ImgPhotoCmd data: invalid option} -setup { image create photo photo1 } -body { |