summaryrefslogtreecommitdiffstats
path: root/tests/lsearch.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lsearch.test')
-rw-r--r--tests/lsearch.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lsearch.test b/tests/lsearch.test
index 8d03e96..d7f9414 100644
--- a/tests/lsearch.test
+++ b/tests/lsearch.test
@@ -442,6 +442,9 @@ test lsearch-17.14 {lsearch -index option, encoding aliasing} -body {
test lsearch-17.15 {lsearch -index option, encoding aliasing} -body {
lsearch -index end+1 a a
} -returnCodes error -result {index "end+1" cannot select an element from any list}
+test lsearch-17.16 {lsearch -index option, encoding aliasing} -body {
+ lsearch -index end+2 a a
+} -returnCodes error -result {index "end+2" cannot select an element from any list}
test lsearch-18.1 {lsearch -index option, list as index basic functionality} {