diff options
author | dgp@users.sourceforge.net <dgp> | 2007-05-16 18:10:34 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2007-05-16 18:10:34 (GMT) |
commit | f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1 (patch) | |
tree | 064a406739ab677cf5bcb77107f0e569b8f6a0fe /tests | |
parent | f6fab112b7c4873b6170ed066528f70f2f7edd1b (diff) | |
download | tk-f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1.zip tk-f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1.tar.gz tk-f9e3d7c17ec70450e4f99c9487d28d64e2f15cf1.tar.bz2 |
* library/choosedir.tcl: Removed uses of obsolete {expand}
* library/comdlg.tcl: syntax; replaced with the now
* library/tk.tcl: approved {*}. [Bug 1710633]
* tests/canvImg.test:
* tests/imgPhoto.test:
Diffstat (limited to 'tests')
-rw-r--r-- | tests/canvImg.test | 6 | ||||
-rw-r--r-- | tests/imgPhoto.test | 4 |
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 |