summaryrefslogtreecommitdiffstats
path: root/tests/menu.test
diff options
context:
space:
mode:
authorculler <culler>2019-01-15 21:22:45 (GMT)
committerculler <culler>2019-01-15 21:22:45 (GMT)
commit0108f0519ddb45089bcd6e5e1e1b62112214df24 (patch)
tree89bb07e5681de8aac597b314798f0c59a0958690 /tests/menu.test
parentc30080a5540a2fd71dae2122cfd926a7ead68461 (diff)
downloadtk-0108f0519ddb45089bcd6e5e1e1b62112214df24.zip
tk-0108f0519ddb45089bcd6e5e1e1b62112214df24.tar.gz
tk-0108f0519ddb45089bcd6e5e1e1b62112214df24.tar.bz2
For macOS, guard against a crash in TkpPostMenu and fix TkPostTearoffMenu.
Adjust menu.test for the new argument name.
Diffstat (limited to 'tests/menu.test')
-rw-r--r--tests/menu.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/menu.test b/tests/menu.test
index dcc578f..9ad2a0c 100644
--- a/tests/menu.test
+++ b/tests/menu.test
@@ -1606,7 +1606,7 @@ test menu-3.47 {MenuWidgetCmd procedure, "post" option} -setup {
.m1 post
} -cleanup {
destroy .m1
-} -returnCodes error -result {wrong # args: should be ".m1 post x y ?entry?"}
+} -returnCodes error -result {wrong # args: should be ".m1 post x y ?index?"}
test menu-3.48 {MenuWidgetCmd procedure, "post" option} -setup {
destroy .m1
} -body {