summaryrefslogtreecommitdiffstats
path: root/tests/spinbox.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spinbox.test')
-rw-r--r--tests/spinbox.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/spinbox.test b/tests/spinbox.test
index 9cf10a4..e3c7009 100644
--- a/tests/spinbox.test
+++ b/tests/spinbox.test
@@ -1872,7 +1872,7 @@ test spinbox-3.79 {SpinboxWidgetCmd procedure, "xview" widget command} -setup {
.e insert end "runs off the end of the window quite a bit."
.e xview 0
update
- .e xview -4
+ .e xview -1
.e index @0
} -cleanup {
destroy .e
@@ -2393,7 +2393,7 @@ test spinbox-8.2 {DeleteChars procedure} -setup {
.e insert 0 abcde
update idletasks
set timeout [after 500 {set scrollInfo {-1000000 -1000000}}]
- .e delete -2 2
+ .e delete -1 2
vwait scrollInfo
list [.e get] $contents [format {%.6f %.6f} {*}$scrollInfo]
} -cleanup {
@@ -3122,7 +3122,7 @@ test spinbox-13.23 {GetSpinboxIndex procedure} -body {
.e insert 0 012345678901234567890
.e xview 4
update
- .e index -10
+ .e index -1
} -cleanup {
destroy .e
} -result 0