summaryrefslogtreecommitdiffstats
path: root/tests/text.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-05-19 21:19:51 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-05-19 21:19:51 (GMT)
commit50de53fd6278537c78db3e9c0558a6c7bd82915f (patch)
tree1e014aea266b1bafabb73653baff4ba60b9c0ade /tests/text.test
parent4926ded3376b2238fc889db0e53a383c6164b941 (diff)
downloadtk-50de53fd6278537c78db3e9c0558a6c7bd82915f.zip
tk-50de53fd6278537c78db3e9c0558a6c7bd82915f.tar.gz
tk-50de53fd6278537c78db3e9c0558a6c7bd82915f.tar.bz2
Fixed test suite breakage that I inadvertently introduced [Bug 739965]
Diffstat (limited to 'tests/text.test')
-rw-r--r--tests/text.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/text.test b/tests/text.test
index f3d5772..6f8a72e 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: text.test,v 1.21 2003/05/19 13:04:24 vincentdarley Exp $
+# RCS: @(#) $Id: text.test,v 1.22 2003/05/19 21:19:52 dkf Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -1766,7 +1766,7 @@ test text-22.3 {TextDumpCmd procedure, bad args} {
} {1 {Usage: .t dump ?-all -image -text -mark -tag -window? ?-command script? index ?index2?}}
test text-22.4 {TextDumpCmd procedure, bad args} {
list [catch {.t dump -bogus} msg] $msg
-} {1 {Usage: .t dump ?-all -image -text -mark -tag -window? ?-command script? index ?index2?}}
+} {1 {bad option "-bogus": must be -all, -command, -image, -mark, -tag, -text, or -window}}
test text-22.5 {TextDumpCmd procedure, bad args} {
list [catch {.t dump bogus} msg] $msg
} {1 {bad text index "bogus"}}