summaryrefslogtreecommitdiffstats
path: root/tests/focusTcl.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-02-01 21:09:34 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-02-01 21:09:34 (GMT)
commit0691533b9281b179d99856732c3eb28f6a4256cf (patch)
tree5c29987efb765d4462e1163756c275fef25c54c2 /tests/focusTcl.test
parentbc6a00f386a42a918f7ea3907a7899419680c3d4 (diff)
downloadtk-0691533b9281b179d99856732c3eb28f6a4256cf.zip
tk-0691533b9281b179d99856732c3eb28f6a4256cf.tar.gz
tk-0691533b9281b179d99856732c3eb28f6a4256cf.tar.bz2
Remove old pack syntax from the scripts of the Tk test suite
Diffstat (limited to 'tests/focusTcl.test')
-rw-r--r--tests/focusTcl.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/focusTcl.test b/tests/focusTcl.test
index ef848bb..0e457a6 100644
--- a/tests/focusTcl.test
+++ b/tests/focusTcl.test
@@ -402,7 +402,7 @@ test focusTcl-5.4 {tkFocusOK procedure, -takefocus ""} -body {
test focusTcl-5.5 {tkFocusOK procedure, -takefocus "", not mapped} -body {
setup1 .
.b.x configure -takefocus ""
- pack unpack .b.x
+ pack forget .b.x
update
tk_focusNext .b
} -cleanup {
@@ -413,7 +413,7 @@ test focusTcl-5.6 {tkFocusOK procedure, -takefocus "", not mapped} -body {
foreach w {.b.x .b.y .b.z} {
$w configure -takefocus ""
}
- pack unpack .b
+ pack forget .b
update
tk_focusNext .b
} -cleanup {
@@ -422,7 +422,7 @@ test focusTcl-5.6 {tkFocusOK procedure, -takefocus "", not mapped} -body {
test focusTcl-5.7 {tkFocusOK procedure, -takefocus "", not mapped} -body {
setup1 .
.b.y configure -takefocus 1
- pack unpack .b.y
+ pack forget .b.y
update
tk_focusNext .b.x
} -cleanup {
@@ -432,7 +432,7 @@ test focusTcl-5.8 {tkFocusOK procedure, -takefocus "", not mapped} -body {
proc always args {return 1}
setup1 .
.b.y configure -takefocus always
- pack unpack .b.y
+ pack forget .b.y
update
tk_focusNext .b.x
} -cleanup {