summaryrefslogtreecommitdiffstats
path: root/tests/canvText.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-12-14 16:55:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-12-14 16:55:12 (GMT)
commit4223a05f6ba24830c25fa27ebfe2441a43ee85e1 (patch)
tree5c0f43225a08c739c20af8fbdb0ac95002c95476 /tests/canvText.test
parent5357570e1f8319ecea3ce3c930913200ebc485dd (diff)
downloadtk-4223a05f6ba24830c25fa27ebfe2441a43ee85e1.zip
tk-4223a05f6ba24830c25fa27ebfe2441a43ee85e1.tar.gz
tk-4223a05f6ba24830c25fa27ebfe2441a43ee85e1.tar.bz2
TIP #577 follow-up (Enhanced index values for Tk). Now that an index may be "", reflect this in error-messages as well
Diffstat (limited to 'tests/canvText.test')
-rw-r--r--tests/canvText.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/canvText.test b/tests/canvText.test
index ace4740..58cc789 100644
--- a/tests/canvText.test
+++ b/tests/canvText.test
@@ -66,7 +66,7 @@ test canvText-1.12 {configuration options: good value for "underline"} -body {
} -result {0 0}
test canvasText-1.13 {configuration options: bad value for "underline"} -body {
.c itemconfigure test -underline xyz
-} -returnCodes error -result {bad index "xyz": must be integer?[+-]integer? or end?[+-]integer?}
+} -returnCodes error -result {bad index "xyz": must be integer?[+-]integer?, end?[+-]integer?, or ""}
test canvText-1.14 {configuration options: good value for "width"} -body {
.c itemconfigure test -width 6
list [lindex [.c itemconfigure test -width] 4] [.c itemcget test -width]