diff options
-rw-r--r-- | tests/cmdIL.test | 4 | ||||
-rw-r--r-- | tests/lsearch.test | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/cmdIL.test b/tests/cmdIL.test index c83bd98..68122dd 100644 --- a/tests/cmdIL.test +++ b/tests/cmdIL.test @@ -147,10 +147,10 @@ test cmdIL-1.36 {lsort -stride and -index: Bug 2918962} { {{b i g} 12345} {{d e m o} 34512} } } {{{b i g} 12345} {{d e m o} 34512} {{c o d e} 54321} {{b l a h} 94729}} -test cmdIL-1.37 {lsort -stride and -index} -body { +test cmdIL-1.41 {lsort -stride and -index} -body { lsort -stride 2 -index -2 {a 2 b 1} } -returnCodes error -result {index "-2" cannot select an element from any list} -test cmdIL-1.38 {lsort -stride and-index} -body { +test cmdIL-1.42 {lsort -stride and-index} -body { lsort -stride 2 -index -1-1 {a 2 b 1} } -returnCodes error -result {index "-1-1" cannot select an element from any list} diff --git a/tests/lsearch.test b/tests/lsearch.test index d7f9414..5e8a1f8 100644 --- a/tests/lsearch.test +++ b/tests/lsearch.test @@ -478,10 +478,10 @@ test lsearch-19.4 {lsearch -subindices option} { test lsearch-19.5 {lsearch -subindices option} { lsearch -subindices -all -index {0 0} -exact {{{a c} {a b} {d a}} {{a c} {a b} {d a}}} a } {{0 0 0} {1 0 0}} -test lsearch-19.6 {lsearch -subindices option} { +test lsearch-19.7 {lsearch -subindices option} { lsearch -subindices -index end {{1 a}} a } {0 1} -test lsearch-19.7 {lsearch -subindices option} { +test lsearch-19.8 {lsearch -subindices option} { lsearch -subindices -all -index end {{1 a}} a } {{0 1}} |