diff options
author | hobbs <hobbs@noemail.net> | 2003-02-09 07:48:22 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2003-02-09 07:48:22 (GMT) |
commit | c157274ebe7c2fe80735f2ff206d1726f579254d (patch) | |
tree | c6933d15bed38ac3ee37519fe2b9700aeee30333 /tests/canvText.test | |
parent | 8c105df5911ecc6664635f778715b5d7cb06269a (diff) | |
download | tk-c157274ebe7c2fe80735f2ff206d1726f579254d.zip tk-c157274ebe7c2fe80735f2ff206d1726f579254d.tar.gz tk-c157274ebe7c2fe80735f2ff206d1726f579254d.tar.bz2 |
* generic/tkCanvArc.c (CreateArc): Rework canvas create item
* generic/tkCanvBmap.c (CreateBitmap): type coords handling to be
* generic/tkCanvImg.c (CreateImage): consistent across types
* generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords
* generic/tkCanvLine.c (CreateLine): to item creation procs.
* generic/tkCanvText.c (CreateText):
* generic/tkCanvWind.c (CreateWinItem):
* generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE):
* generic/tkRectOval.c (CreateRectOval):
* tests/canvRect.test:
* tests/canvText.test:
* tests/canvas.test:
FossilOrigin-Name: 940279e11eb4e8a562733a47cb3345a14014e4c3
Diffstat (limited to 'tests/canvText.test')
-rw-r--r-- | tests/canvText.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/canvText.test b/tests/canvText.test index c23f949..21f09a6 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.11 2002/07/14 05:48:46 dgp Exp $ +# RCS: @(#) $Id: canvText.test,v 1.12 2003/02/09 07:48:22 hobbs Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -61,7 +61,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 x y ?options?"}} +} {1 {wrong # args: should be ".c create text coords ?arg arg ...?"}} test canvText-2.2 {CreateText procedure: args} { list [catch {.c create text xyz 0} msg] $msg } {1 {bad screen distance "xyz"}} |