summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/canvImg.test6
-rw-r--r--tests/imgPhoto.test4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/canvImg.test b/tests/canvImg.test
index 5a7cd71..7814d8a 100644
--- a/tests/canvImg.test
+++ b/tests/canvImg.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: canvImg.test,v 1.8 2004/05/23 17:34:48 dkf Exp $
+# RCS: @(#) $Id: canvImg.test,v 1.9 2007/05/16 18:10:35 dgp Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -252,8 +252,8 @@ foreach check {
} {
lassign $check name rectCoords testPoint result
test $name {ImageToPoint procedure} testImageType {
- .c coords rect {expand}$rectCoords
- .c gettags [.c find closest {expand}$testPoint]
+ .c coords rect {*}$rectCoords
+ .c gettags [.c find closest {*}$testPoint]
} $result
}
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test
index 9893e5f..3f1af80 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.24 2006/03/27 15:38:38 dkf Exp $
+# RCS: @(#) $Id: imgPhoto.test,v 1.25 2007/05/16 18:10:35 dgp Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -558,7 +558,7 @@ test imgPhoto-12.1 {Tk_PhotoPutZoomedBlock} hasTeapotPhoto {
} {{19 92 192} {169 117 90} 512 512 {19 92 192}}
test imgPhoto-13.1 {check separation of images in different interpreters} {
- image delete {expand}[image names]
+ image delete {*}[image names]
set data {
R0lGODlhQgBkAPUAANbWxs7Wxs7OxsbOxsbGxsbGvb3Gvca9vcDAwL21vbW1vbW1tbWtta2t
ta2ltaWltaWlraWctaWcrZycrZyUrZSUrZSMrZSMpYyMrYyMpYyEpYSEpYR7pYR7nHp7pYRz