summaryrefslogtreecommitdiffstats
path: root/tests/winfo.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-02 21:04:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-02 21:04:39 (GMT)
commite0a9d8d3100de26a961418e9ab3fc6087014e00b (patch)
tree3e0d929e5137c99f90d81bb4a91e6307813d1dd6 /tests/winfo.test
parentef0028bd368a52a1819b55404e2e48e0ba79eded (diff)
downloadtk-e0a9d8d3100de26a961418e9ab3fc6087014e00b.zip
tk-e0a9d8d3100de26a961418e9ab3fc6087014e00b.tar.gz
tk-e0a9d8d3100de26a961418e9ab3fc6087014e00b.tar.bz2
Use "eq" not "==" when checking "tk windowingsystem"
Diffstat (limited to 'tests/winfo.test')
-rw-r--r--tests/winfo.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/winfo.test b/tests/winfo.test
index 750444f..045696d 100644
--- a/tests/winfo.test
+++ b/tests/winfo.test
@@ -399,7 +399,7 @@ test winfo-13.1 {root coordinates of embedded toplevel} -setup {
# Windows does not destroy the container when an embedded window is
# destroyed. Unix and macOS do destroy it. See ticket [67384bce7d].
-if {[tk windowingsystem] == "win32"} {
+if {[tk windowingsystem] eq "win32"} {
set result_13_2 {embedded 0 container 1}
} else {
set result_13_2 {embedded 0 container 0}