diff options
author | fvogel <fvogelnew1@free.fr> | 2021-12-08 22:49:08 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2021-12-08 22:49:08 (GMT) |
commit | 65458d13ce56ff7bb25f064abc263450439703c5 (patch) | |
tree | 9cb891a2b528c26ccf2c5f2290a5ca4c202fe5be /tests/menu.test | |
parent | 26d4753fba4ae7d395cf232f562025767683e239 (diff) | |
download | tk-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.test | 8 |
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 |