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)
commit94a535b1fbe60f678bd43fc60a04498a10cd9e39 (patch)
tree5c29987efb765d4462e1163756c275fef25c54c2 /tests/focusTcl.test
parent624e0e19c674b11f1669dd060fe8b9e8dae38aab (diff)
downloadtk-94a535b1fbe60f678bd43fc60a04498a10cd9e39.zip
tk-94a535b1fbe60f678bd43fc60a04498a10cd9e39.tar.gz
tk-94a535b1fbe60f678bd43fc60a04498a10cd9e39.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 {