summaryrefslogtreecommitdiffstats
path: root/tests/menubut.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-11 12:14:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-11 12:14:59 (GMT)
commitb1e5b2f35860988dd0aad0342fdf06272864e30d (patch)
treee4b102a1e77fad36d58a1edbf1bcad4f42ed78a6 /tests/menubut.test
parent49f7fca89164bb7a378a01aea165d82df6aad06c (diff)
parentbd33c4f3a417d27aebd67b95239b3efd2238dac9 (diff)
downloadtk-b1e5b2f35860988dd0aad0342fdf06272864e30d.zip
tk-b1e5b2f35860988dd0aad0342fdf06272864e30d.tar.gz
tk-b1e5b2f35860988dd0aad0342fdf06272864e30d.tar.bz2
Merge trunk. Add new option type TK_OPTION_INDEX. Start implementing extended index handling for -underline.
Diffstat (limited to 'tests/menubut.test')
-rw-r--r--tests/menubut.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/menubut.test b/tests/menubut.test
index b8a52a9..fa4d89d 100644
--- a/tests/menubut.test
+++ b/tests/menubut.test
@@ -294,7 +294,7 @@ test menubutton-1.54 {configuration options} -body {
} -result 5
test menubutton-1.55 {configuration options} -body {
.mb configure -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 menubutton-1.56 {configuration options} -body {
.mb configure -width 402
.mb cget -width