summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-07-04 07:12:54 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-07-04 07:12:54 (GMT)
commit15c4d336b5f80272a792d18edb443992c20be1fa (patch)
tree1de39d795f092a3041a527841f571e9639cc9e01 /tests/wm.test
parent976439eb120e6430af793aa862afdbbc12918f97 (diff)
parent394d86895d7cedc272d904a7e0b18446b5e52da7 (diff)
downloadtk-15c4d336b5f80272a792d18edb443992c20be1fa.zip
tk-15c4d336b5f80272a792d18edb443992c20be1fa.tar.gz
tk-15c4d336b5f80272a792d18edb443992c20be1fa.tar.bz2
Fix [6ca257310a]: wm resizable does not disable single dimension resizing on macOS. Patch from Marc Culler.
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 119e614..9cbe49a 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 ###