summaryrefslogtreecommitdiffstats
path: root/tests/textDisp.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-23 20:46:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-23 20:46:58 (GMT)
commit03582e574085bb1a722ddb42239db6116db7c66a (patch)
treeb2acac1728a6dceb22148fb10c31e9f54749bad0 /tests/textDisp.test
parentd1e742a7b7a9b4754993a7f19e61ecc674d14fa2 (diff)
downloadtk-03582e574085bb1a722ddb42239db6116db7c66a.zip
tk-03582e574085bb1a722ddb42239db6116db7c66a.tar.gz
tk-03582e574085bb1a722ddb42239db6116db7c66a.tar.bz2
Revise "bad screen distance" error-messages
Diffstat (limited to 'tests/textDisp.test')
-rw-r--r--tests/textDisp.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index 03a0ceb..7583bc4 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -2483,7 +2483,7 @@ test textDisp-16.37 {TkTextYviewCmd procedure} {
} {0 {}}
test textDisp-16.38 {TkTextYviewCmd procedure} {
list [catch {.t yview scroll 1.3blah pixels} msg] $msg
-} {1 {bad screen distance "1.3blah"}}
+} {1 {expected screen distance but got "1.3blah"}}
test textDisp-16.39 {TkTextYviewCmd procedure} {
list [catch {.t yview scroll 1.3i pixels} msg] $msg
} {0 {}}