summaryrefslogtreecommitdiffstats
path: root/tests/menu.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-12 11:50:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-12 11:50:53 (GMT)
commitbdbec5671088fa3f28bd273e5987fc7a7aa5af29 (patch)
treec7b8fd27a7c5f7151157355cf8993e9b7d898c22 /tests/menu.test
parentb1e5b2f35860988dd0aad0342fdf06272864e30d (diff)
downloadtk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.zip
tk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.tar.gz
tk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.tar.bz2
More progress, implementing enhanced "-underline"
Diffstat (limited to 'tests/menu.test')
-rw-r--r--tests/menu.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/menu.test b/tests/menu.test
index c288661..ee5e90d 100644
--- a/tests/menu.test
+++ b/tests/menu.test
@@ -1199,11 +1199,11 @@ test menu-2.223 {entry configuration options 0 -underline 3p tearoff} -body {
test menu-2.224 {entry configuration options 1 -underline 3p command} -body {
.m1 entryconfigure 1 -underline 3p
-} -returnCodes error -result {expected integer but got "3p"}
+} -returnCodes error -result {bad index "3p": must be integer?[+-]integer?, end?[+-]integer? or none}
test menu-2.225 {entry configuration options 2 -underline 3p cascade} -body {
.m1 entryconfigure 2 -underline 3p
-} -returnCodes error -result {expected integer but got "3p"}
+} -returnCodes error -result {bad index "3p": must be integer?[+-]integer?, end?[+-]integer? or none}
test menu-2.226 {entry configuration options 3 -underline 3p separator} -body {
.m1 entryconfigure 3 -underline 3p
@@ -1211,11 +1211,11 @@ test menu-2.226 {entry configuration options 3 -underline 3p separator} -body {
test menu-2.227 {entry configuration options 4 -underline 3p checkbutton} -body {
.m1 entryconfigure 4 -underline 3p
-} -returnCodes error -result {expected integer but got "3p"}
+} -returnCodes error -result {bad index "3p": must be integer?[+-]integer?, end?[+-]integer? or none}
test menu-2.228 {entry configuration options 5 -underline 3p radiobutton} -body {
.m1 entryconfigure 5 -underline 3p
-} -returnCodes error -result {expected integer but got "3p"}
+} -returnCodes error -result {bad index "3p": must be integer?[+-]integer?, end?[+-]integer? or none}
deleteWindows
if {[testConstraint hasEarthPhoto]} {