summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 17:13:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 17:13:26 (GMT)
commit51865b0ab9117baf2676e86b0e423ea570b7dd12 (patch)
tree20aeaac9209a7d33267aa9e641a418a3e5f29a39 /tests
parent3213b080b096a2603f686f8bf239d886ee2fdace (diff)
parent71add2ec624828af9c1c040760616e297a3f3290 (diff)
downloadtk-51865b0ab9117baf2676e86b0e423ea570b7dd12.zip
tk-51865b0ab9117baf2676e86b0e423ea570b7dd12.tar.gz
tk-51865b0ab9117baf2676e86b0e423ea570b7dd12.tar.bz2
Merge tip-613
Diffstat (limited to 'tests')
-rw-r--r--tests/ttk/combobox.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test
index 3308d20..a972164 100644
--- a/tests/ttk/combobox.test
+++ b/tests/ttk/combobox.test
@@ -60,6 +60,11 @@ test combobox-2.7 {current -- set to 0 index when empty [bug 924835c36d]} -body
.cb current 0
} -returnCodes error -result {index "0" out of range}
+test combobox-2.8 "current -- set to end index in an empty combobox" -body {
+ .cb configure -values {}
+ .cb current end
+} -returnCodes error -result {index "end" out of range}
+
test combobox-2.end "Cleanup" -body { destroy .cb }
test combobox-3 "Read postoffset value dynamically from current style" -body {