summaryrefslogtreecommitdiffstats
path: root/tests/textDisp.test
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-12-14 06:53:10 (GMT)
committerhobbs <hobbs@noemail.net>1999-12-14 06:53:10 (GMT)
commit877634f6b5ec54a286a11e53e35cffb03cf82e71 (patch)
tree9cf936e1b6b3abcdf9ad5fd0f58caa549f438d21 /tests/textDisp.test
parente7d52c87faa62e2f0d97708fb980aca2c2eb3c4e (diff)
downloadtk-877634f6b5ec54a286a11e53e35cffb03cf82e71.zip
tk-877634f6b5ec54a286a11e53e35cffb03cf82e71.tar.gz
tk-877634f6b5ec54a286a11e53e35cffb03cf82e71.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 FossilOrigin-Name: 73e913a6e6c8d3714d1bd2763748df34a0522efd
Diffstat (limited to 'tests/textDisp.test')
-rw-r--r--tests/textDisp.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index 7ae7f25..931d96e 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textDisp.test,v 1.3 1999/04/16 01:51:41 stanton Exp $
+# RCS: @(#) $Id: textDisp.test,v 1.4 1999/12/14 06:53:14 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -1793,10 +1793,10 @@ foreach i {a b c d e f g h i j k l m n o p q r s t u v w x y z} {
.t configure -wrap none
test textDisp-17.1 {TkTextScanCmd procedure} {
list [catch {.t scan a b} msg] $msg
-} {1 {wrong # args: should be ".t scan mark|dragto x y"}}
+} {1 {wrong # args: should be ".t scan mark x y" or ".t scan dragto x y ?gain?"}}
test textDisp-17.2 {TkTextScanCmd procedure} {
list [catch {.t scan a b c d} msg] $msg
-} {1 {wrong # args: should be ".t scan mark|dragto x y"}}
+} {1 {expected integer but got "b"}}
test textDisp-17.3 {TkTextScanCmd procedure} {
list [catch {.t scan stupid b 20} msg] $msg
} {1 {expected integer but got "b"}}