Skip to content

Commit

Permalink
Fix the expected result of test unixWm-22.3 for aqua since [18bde332]…
Browse files Browse the repository at this point in the history
… fixes the behaviour for this platform. All platforms now have the same behaviour and expected result for [wm iconbitmap].
  • Loading branch information
fvogelnew1 committed Jan 2, 2025
1 parent 3389743 commit 67985ea
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/unixWm.test
Original file line number Diff line number Diff line change
Expand Up @@ -815,15 +815,9 @@ test unixWm-22.2 {Tk_WmCmd procedure, "iconbitmap" option} {unix testwrapper} {
WM_HINTS] 0]]]
lappend result [wm iconbitmap .t] $bit
} {{} questhead 0x4 {} 0x0}
if {[tk windowingsystem] eq "aqua"} {
set result_22_3 {0 {}}
} else {
set result_22_3 {1 {bitmap "bad-bitmap" not defined}}
}
test unixWm-22.3 {Tk_WmCmd procedure, "iconbitmap" option for unix only} \
unix {
test unixWm-22.3 {Tk_WmCmd procedure, "iconbitmap" option} unix {
list [catch {wm iconbitmap .t bad-bitmap} msg] $msg
} $result_22_3
} {1 {bitmap "bad-bitmap" not defined}}

test unixWm-23.1 {Tk_WmCmd procedure, "iconify" option} unix {
list [catch {wm iconify .t 12} msg] $msg
Expand Down

0 comments on commit 67985ea

Please sign in to comment.