summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-06-30 14:30:43 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-06-30 14:30:43 (GMT)
commit394d86895d7cedc272d904a7e0b18446b5e52da7 (patch)
tree51b80401f47e14af5101b3e4e683abf973c6d54c /tests/wm.test
parent2eb8794e094e89e8d9245abc1b328078069e79e7 (diff)
downloadtk-394d86895d7cedc272d904a7e0b18446b5e52da7.zip
tk-394d86895d7cedc272d904a7e0b18446b5e52da7.tar.gz
tk-394d86895d7cedc272d904a7e0b18446b5e52da7.tar.bz2
Complete test wm-resizable-2.1 with the fourth combination case
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/wm.test b/tests/wm.test
index afcc2cd..f834074 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -1242,13 +1242,15 @@ test wm-resizable-1.5 {usage} -returnCodes error -body {
} -result {expected boolean value but got "bad"}
test wm-resizable-2.1 {setting and reading values} {
- wm resizable .t 0 1
+ wm resizable .t 0 0
set result [wm resizable .t]
+ wm resizable .t 0 1
+ lappend result [wm resizable .t]
wm resizable .t 1 0
lappend result [wm resizable .t]
wm resizable .t 1 1
lappend result [wm resizable .t]
-} {0 1 {1 0} {1 1}}
+} {0 0 {0 1} {1 0} {1 1}}
### wm sizefrom ###