diff options
author | fvogel <fvogelnew1@free.fr> | 2021-12-11 16:43:40 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2021-12-11 16:43:40 (GMT) |
commit | de3ff3f49191a2cb4cabc2e6a96c387440690d72 (patch) | |
tree | 39f16b645b99cd9d68dda5a944fe85494a411a69 /tests/menu.test | |
parent | 8fd669fd3bc19763b9a7087edac7bce473981ea7 (diff) | |
parent | c209a036551118943a96fa6317ce447be1ec4b2b (diff) | |
download | tk-de3ff3f49191a2cb4cabc2e6a96c387440690d72.zip tk-de3ff3f49191a2cb4cabc2e6a96c387440690d72.tar.gz tk-de3ff3f49191a2cb4cabc2e6a96c387440690d72.tar.bz2 |
Add non-regression test menu-39.1 checking for [be8f5b9fc2].
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 780fc44..b98b2ad 100644 --- a/tests/menu.test +++ b/tests/menu.test @@ -3974,6 +3974,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 |