summaryrefslogtreecommitdiffstats
path: root/tests/entry.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-20 12:53:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-20 12:53:03 (GMT)
commit887e27ac8de846f7e985c5037b1d2ac1e9fea2a8 (patch)
tree2b0ed22de1dacceff5e9efca43e319666094e255 /tests/entry.test
parent10faa132df0677d6fb353c0cabb1191c58c90f45 (diff)
parent06b5ea26625d50fb3cf48c115b4efa0115f20d9e (diff)
downloadtk-887e27ac8de846f7e985c5037b1d2ac1e9fea2a8.zip
tk-887e27ac8de846f7e985c5037b1d2ac1e9fea2a8.tar.gz
tk-887e27ac8de846f7e985c5037b1d2ac1e9fea2a8.tar.bz2
Merge trunk
Diffstat (limited to 'tests/entry.test')
-rw-r--r--tests/entry.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/entry.test b/tests/entry.test
index 262447f..7ee50dd 100644
--- a/tests/entry.test
+++ b/tests/entry.test
@@ -1534,7 +1534,7 @@ test entry-3.79 {EntryWidgetCmd procedure, "xview" widget command} -setup {
.e insert end "runs off the end of the window quite a bit."
.e xview 0
update
- .e xview -1
+ .e xview {}
.e index @0
} -cleanup {
destroy .e
@@ -2104,7 +2104,7 @@ test entry-8.2 {DeleteChars procedure} -setup {
.e configure -textvariable contents -xscrollcommand scroll
set timeout [after 500 {set scrollInfo {-1000000 -1000000}}]
.e insert 0 abcde
- .e delete -1 2
+ .e delete {} 2
vwait scrollInfo
list [.e get] $contents [format {%.6f %.6f} {*}$scrollInfo]
} -cleanup {
@@ -2835,7 +2835,7 @@ test entry-13.23 {GetEntryIndex procedure} -body {
.e insert 0 012345678901234567890
.e xview 4
update
- .e index -1
+ .e index {}
} -cleanup {
destroy .e
} -result 0