summaryrefslogtreecommitdiffstats
path: root/tests/canvText.test
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-07-23 23:24:21 (GMT)
committernijtmans <nijtmans@noemail.net>2008-07-23 23:24:21 (GMT)
commitdfe078ce9d3d6919f553fdc611cf66c98bc035f5 (patch)
tree44da117febb11bc69d260540340f018933aa8b45 /tests/canvText.test
parentd569f52b5bd1880c64bfeda38b4c8d5791501921 (diff)
downloadtk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.zip
tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.tar.gz
tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (for Tk)
FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
Diffstat (limited to 'tests/canvText.test')
-rw-r--r--tests/canvText.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/canvText.test b/tests/canvText.test
index 1650f62..5367681 100644
--- a/tests/canvText.test
+++ b/tests/canvText.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: canvText.test,v 1.16 2006/01/12 13:38:22 dkf Exp $
+# RCS: @(#) $Id: canvText.test,v 1.17 2008/07/23 23:24:25 nijtmans Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -59,7 +59,7 @@ test canvText-1.$i {configuration options} {
test canvText-2.1 {CreateText procedure: args} {
list [catch {.c create text} msg] $msg
-} {1 {wrong # args: should be ".c create text coords ?arg arg ...?"}}
+} {1 {wrong # args: should be ".c create text coords ?arg ...?"}}
test canvText-2.2 {CreateText procedure: args} {
list [catch {.c create text xyz 0} msg] $msg
} {1 {bad screen distance "xyz"}}