summaryrefslogtreecommitdiffstats
path: root/tests/menu.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-12-08 22:49:08 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-12-08 22:49:08 (GMT)
commit65458d13ce56ff7bb25f064abc263450439703c5 (patch)
tree9cb891a2b528c26ccf2c5f2290a5ca4c202fe5be /tests/menu.test
parent26d4753fba4ae7d395cf232f562025767683e239 (diff)
downloadtk-65458d13ce56ff7bb25f064abc263450439703c5.zip
tk-65458d13ce56ff7bb25f064abc263450439703c5.tar.gz
tk-65458d13ce56ff7bb25f064abc263450439703c5.tar.bz2
Add non-regression test menu-39.1
Diffstat (limited to 'tests/menu.test')
-rw-r--r--tests/menu.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/menu.test b/tests/menu.test
index ec78087..571e453 100644
--- a/tests/menu.test
+++ b/tests/menu.test
@@ -3958,6 +3958,14 @@ test menu-38.1 {Can't dismiss ttk::menubutton menu until mouse has hovered over
destroy .top.mb.m .top.m .top
} -result 0
+test menu-39.1 {empty -type - bug be8f5b9fc2} -setup {
+ catch {destroy .m}
+} -body {
+ menu .m -type {}
+} -cleanup {
+ destroy .m
+} -returnCodes error -result {ambiguous type "": must be normal, tearoff, or menubar}
+
# cleanup
imageFinish