diff options
author | culler <culler> | 2024-05-24 01:54:08 (GMT) |
---|---|---|
committer | culler <culler> | 2024-05-24 01:54:08 (GMT) |
commit | f0a5f7aa739d4042b0718f644987e04e1166b3f1 (patch) | |
tree | ca461334ac17ec6487867c25d94181c3ef5111b7 | |
parent | ba5defb6f8c03eb5f52b6641bf002059467df4a1 (diff) | |
download | tk-f0a5f7aa739d4042b0718f644987e04e1166b3f1.zip tk-f0a5f7aa739d4042b0718f644987e04e1166b3f1.tar.gz tk-f0a5f7aa739d4042b0718f644987e04e1166b3f1.tar.bz2 |
Simpler fix for wm-iconwindow-2.1 which still does not explain the crash.
-rw-r--r-- | tests/wm.test | 5 |
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] |