summaryrefslogtreecommitdiffstats
path: root/tests/text.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-28 19:45:01 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-28 19:45:01 (GMT)
commit492a37c09443c512e4054acff1bd206ae5d4d501 (patch)
tree25422f71bf65b1db89584a001d6a949ee031bd41 /tests/text.test
parent95fd1a86a7bef3b6e0458a8a15041cdff62aa571 (diff)
downloadtk-492a37c09443c512e4054acff1bd206ae5d4d501.zip
tk-492a37c09443c512e4054acff1bd206ae5d4d501.tar.gz
tk-492a37c09443c512e4054acff1bd206ae5d4d501.tar.bz2
[.text pendingsync] returns a boolean
Diffstat (limited to 'tests/text.test')
-rw-r--r--tests/text.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test
index dc44293..89dd12c 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -1044,7 +1044,7 @@ test text-11a.12 {TextWidgetCmd procedure, "pendingsync" option} -setup {
.top.yt delete 1.0 end
.top.yt insert 1.0 $content
# ensure the test is relevant
- lappend res [expr {[.top.yt pendingsync] > 0}]
+ lappend res [.top.yt pendingsync]
# asynchronously wait for completion of line metrics calculation
while {[.top.yt pendingsync]} {update}
.top.yt yview moveto $fraction1