summaryrefslogtreecommitdiffstats
path: root/tests/imgPhoto.test
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-07-14 05:48:45 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-07-14 05:48:45 (GMT)
commita8d6d5a7d1a25bda8d02c4a62e8f58ff454a0924 (patch)
tree506cf7b5383406d4969854b8209566f9c0b690c6 /tests/imgPhoto.test
parent8beb23bd1e2a1912c06850f0dbf839339ae38d98 (diff)
downloadtk-a8d6d5a7d1a25bda8d02c4a62e8f58ff454a0924.zip
tk-a8d6d5a7d1a25bda8d02c4a62e8f58ff454a0924.tar.gz
tk-a8d6d5a7d1a25bda8d02c4a62e8f58ff454a0924.tar.bz2
* Completed conversion of Tk test suite to use tcltest.
Diffstat (limited to 'tests/imgPhoto.test')
-rw-r--r--tests/imgPhoto.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test
index f1101e6..63e697a 100644
--- a/tests/imgPhoto.test
+++ b/tests/imgPhoto.test
@@ -9,7 +9,7 @@
#
# Author: Paul Mackerras (paulus@cs.anu.edu.au)
#
-# RCS: @(#) $Id: imgPhoto.test,v 1.12 2002/07/13 21:52:34 dgp Exp $
+# RCS: @(#) $Id: imgPhoto.test,v 1.13 2002/07/14 05:48:46 dgp Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -53,7 +53,7 @@ test imgPhoto-1.2 {options for photo images} {
list [catch {image create photo p1 -file no.such.file} err] \
[string tolower $err]
} {1 {couldn't open "no.such.file": no such file or directory}}
-test imgPhoto-1.3 {options for photo images} hasTeapotPhoto hasTeapotPhoto {
+test imgPhoto-1.3 {options for photo images} hasTeapotPhoto {
list [catch {image create photo p1 -file $teapotPhotoFile \
-format no.such.format} err] $err
} {1 {image file format "no.such.format" is not supported}}