summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/wm.test b/tests/wm.test
index 2b31e5e..9cb402a 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -944,10 +944,9 @@ test wm-iconwindow-1.5 {usage} -setup {
} -result {.icon is already an icon for .t2}
test wm-iconwindow-2.1 {setting and reading values} -setup {
+ # without this macOS crashes for unknown reasons
+ wm iconwindow .t {}
destroy .icon
- # Destroying and creating .t prevents a segfault on macOS
- destroy .t
- toplevel .t
set result {}
} -body {
lappend result [wm iconwindow .t]