summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test
index 3532546..3ba85b7 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -1035,7 +1035,7 @@ test text-11a.21 {"<<WidgetViewSync>>" event} {
}
.top.yt insert 1.0 $content
update
- bind .top.yt <<WidgetViewSync>> { if {%d == 0} {set yud(%W) 1} }
+ bind .top.yt <<WidgetViewSync>> { if {%d} {set yud(%W) 1} }
# wait for end of line metrics calculation to get correct $fraction1
# as a reference
if {[.top.yt pendingsync]} {vwait yud(.top.yt)}