summaryrefslogtreecommitdiffstats
path: root/tests/ttk
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-09 15:34:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-09 15:34:23 (GMT)
commitab53264f81aa19db3d154d1a21b4d233c71634ef (patch)
treeb36f522ad2c5a7bfd6f57c81819eea895b350c8e /tests/ttk
parentb6b644985c15da74f292c6742a0afb0afa83b556 (diff)
parenta6125082b3d0c0ffbc75c342295e1f534a90bbf7 (diff)
downloadtk-ab53264f81aa19db3d154d1a21b4d233c71634ef.zip
tk-ab53264f81aa19db3d154d1a21b4d233c71634ef.tar.gz
tk-ab53264f81aa19db3d154d1a21b4d233c71634ef.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/ttk')
-rw-r--r--tests/ttk/entry.test2
-rw-r--r--tests/ttk/treeview.test8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/ttk/entry.test b/tests/ttk/entry.test
index 1832cba..61d28cf 100644
--- a/tests/ttk/entry.test
+++ b/tests/ttk/entry.test
@@ -67,7 +67,7 @@ test entry-1.7 "Deletion - insert cursor in the middle " -body {
.e index insert
} -result 0
-test entry-1.8 "Index is between 0 and end" -body {
+test entry-1.8 "Index is between 0 and end" -constraints deprecated -body {
.e delete 0 end
.e insert end abcde
set res [list [.e index -1] [.e index -4] [.e index 999]]
diff --git a/tests/ttk/treeview.test b/tests/ttk/treeview.test
index 3c14295..04a0f26 100644
--- a/tests/ttk/treeview.test
+++ b/tests/ttk/treeview.test
@@ -54,11 +54,11 @@ test treeview-1.3 "bad displaycolumns" -body {
test treeview-1.4 "more bad displaycolumns" -body {
.tv configure -displaycolumns {1 2 3}
-} -returnCodes error -result "Column index 3 out of bounds"
+} -returnCodes error -result {Column index "3" out of bounds}
test treeview-1.5 "Don't forget to check negative numbers" -body {
- .tv configure -displaycolumns {1 -2 3}
-} -returnCodes error -result "Column index -2 out of bounds"
+ .tv configure -displaycolumns {1 {} 3}
+} -returnCodes error -result {Column index "" out of bounds}
# Item creation.
#
@@ -302,7 +302,7 @@ test treeview-5.6 "set illegal cell" -body {
test treeview-5.7 "set illegal cell" -body {
.tv set newnode 3 YY ;# 3 == current #columns
-} -returnCodes error -result "Column index 3 out of bounds"
+} -returnCodes error -result {Column index "3" out of bounds}
test treeview-5.8 "set display columns" -body {
.tv configure -displaycolumns [list 2 1 0]