summaryrefslogtreecommitdiffstats
path: root/tests/spinbox.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-13 10:00:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-13 10:00:02 (GMT)
commit8e5655a41ed56f88c8dc4635ba8f50a5aae6c2ba (patch)
tree5fccbcd24563d8902360f3a1740e2a756c66152d /tests/spinbox.test
parent98049a4d7041f1aa0f5a9a8419b8c8fe2c83af60 (diff)
downloadtk-8e5655a41ed56f88c8dc4635ba8f50a5aae6c2ba.zip
tk-8e5655a41ed56f88c8dc4635ba8f50a5aae6c2ba.tar.gz
tk-8e5655a41ed56f88c8dc4635ba8f50a5aae6c2ba.tar.bz2
-vcmd -> -validatecommand in demo's and tests
Diffstat (limited to 'tests/spinbox.test')
-rw-r--r--tests/spinbox.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/spinbox.test b/tests/spinbox.test
index 9267360..89d8ade 100644
--- a/tests/spinbox.test
+++ b/tests/spinbox.test
@@ -919,14 +919,14 @@ test spinbox-1.79 {configuration option: "values" for spinbox} -setup {
destroy .e
} -returnCodes {error} -result {list element in braces followed by "list" instead of space}
-test spinbox-1.80 {configuration option: "vcmd"} -setup {
+test spinbox-1.80 {configuration option: "validatecommand"} -setup {
spinbox .e -borderwidth 2 -highlightthickness 2 -font {Helvetica -12} \
-relief sunken
pack .e
update
} -body {
- .e configure -vcmd "a command"
- .e cget -vcmd
+ .e configure -validatecommand "a command"
+ .e cget -validatecommand
} -cleanup {
destroy .e
} -result {a command}