summaryrefslogtreecommitdiffstats
path: root/tests/textImage.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/textImage.test')
-rw-r--r--tests/textImage.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/textImage.test b/tests/textImage.test
index 8ef5033..d78472a 100644
--- a/tests/textImage.test
+++ b/tests/textImage.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textImage.test,v 1.10 2004/09/10 12:13:43 vincentdarley Exp $
+# RCS: @(#) $Id: textImage.test,v 1.11 2008/07/23 23:24:25 nijtmans Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -25,7 +25,7 @@ test textImage-1.1 {basic argument checking} {
text .t -font test_font -bd 0 -highlightthickness 0 -padx 0 -pady 0
pack .t
list [catch {.t image} msg] $msg
-} {1 {wrong # args: should be ".t image option ?arg arg ...?"}}
+} {1 {wrong # args: should be ".t image option ?arg ...?"}}
test textImage-1.2 {basic argument checking} {
catch {destroy .t}
@@ -60,7 +60,7 @@ test textImage-1.6 {configure argument checking} {
text .t -font test_font -bd 0 -highlightthickness 0 -padx 0 -pady 0
pack .t
list [catch {.t image configure } msg] $msg
-} {1 {wrong # args: should be ".t image configure index ?option value ...?"}}
+} {1 {wrong # args: should be ".t image configure index ?-option value ...?"}}
test textImage-1.7 {configure argument checking} {
catch {destroy .t}
@@ -81,7 +81,7 @@ test textImage-1.9 {create argument checking} {
text .t -font test_font -bd 0 -highlightthickness 0 -padx 0 -pady 0
pack .t
list [catch {.t image create} msg] $msg
-} {1 {wrong # args: should be ".t image create index ?option value ...?"}}
+} {1 {wrong # args: should be ".t image create index ?-option value ...?"}}
test textImage-1.10 {create argument checking} {
catch {destroy .t}