summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/panedwindow.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test
index 7c7e138..4bc59a8 100644
--- a/tests/panedwindow.test
+++ b/tests/panedwindow.test
@@ -5087,7 +5087,9 @@ test panedwindow-25.1 {DestroyPanedWindow} -setup {
}
set result {}
} -result {}
-test panedwindow-26.2 {UnmapNotify and MapNotify events are propagated to slaves} {
+test panedwindow-25.2 {UnmapNotify and MapNotify events are propagated to slaves} -setup {
+ deleteWindows
+} -body {
panedwindow .pw
.pw add [button .pw.b]
pack .pw
@@ -5103,7 +5105,9 @@ test panedwindow-26.2 {UnmapNotify and MapNotify events are propagated to slaves
lappend result [winfo ismapped .pw.b]
destroy .pw .pw.b
set result
-} {1 0 0 1 1}
+} -cleanup {
+ deleteWindows
+} -result {1 0 0 1 1}
test panedwindow-26.1 {PanedWindowIdentifyCoords} -setup {