summaryrefslogtreecommitdiffstats
path: root/tests/canvImg.test
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-14 06:53:11 (GMT)
committerhobbs <hobbs>1999-12-14 06:53:11 (GMT)
commitcc105ac04d3d06c27918887b8157b2fa3f8f9e62 (patch)
tree9cf936e1b6b3abcdf9ad5fd0f58caa549f438d21 /tests/canvImg.test
parent62e9e6611d2da6b8113210d5002611c40909231e (diff)
downloadtk-cc105ac04d3d06c27918887b8157b2fa3f8f9e62.zip
tk-cc105ac04d3d06c27918887b8157b2fa3f8f9e62.tar.gz
tk-cc105ac04d3d06c27918887b8157b2fa3f8f9e62.tar.bz2
* tests/bind.test:
* tests/canvImg.test: * tests/canvPsArc.tcl: * tests/canvPsImg.tcl: (new file) * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test: * tests/defs.tcl: * tests/entry.test: * tests/event.test: * tests/font.test: * tests/frame.test: * tests/imgPhoto.test: * tests/safe.test: * tests/scale.test: * tests/scrollbar.test: * tests/select.test: * tests/text.test: * tests/textDisp.test: * tests/textTag.test: * tests/unixFont.test: * tests/unixWm.test: * tests/visual_bb.test: * tests/winClipboard.test: tests for the dash patch changes
Diffstat (limited to 'tests/canvImg.test')
-rw-r--r--tests/canvImg.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/canvImg.test b/tests/canvImg.test
index a79c15e..44d6546 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.3 1999/04/16 01:51:34 stanton Exp $
+# RCS: @(#) $Id: canvImg.test,v 1.4 1999/12/14 06:53:12 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -60,7 +60,7 @@ test canvImg-1.5 {options for image items} {
test canvImg-2.1 {CreateImage procedure} {
list [catch {.c create image 40} msg] $msg
-} {1 {wrong # args: should be ".c create image x y ?options?"}}
+} {1 {wrong # coordinates: expected 2, got 1}}
test canvImg-2.2 {CreateImage procedure} {
list [catch {.c create image 40 50 60} msg] $msg
} {1 {unknown option "60"}}
@@ -100,7 +100,7 @@ test canvImg-3.4 {ImageCoords procedure} {
.c delete all
.c create image 50 100 -image foo -tags i1
list [catch {.c coords i1 250} msg] $msg
-} {1 {wrong # coordinates: expected 0 or 2, got 1}}
+} {1 {wrong # coordinates: expected 2, got 1}}
test canvImg-3.5 {ImageCoords procedure} {
.c delete all
.c create image 50 100 -image foo -tags i1