summaryrefslogtreecommitdiffstats
path: root/tests/lsearch.test
Commit message (Collapse)AuthorAgeFilesLines
* Improve bunch of error-messagesjan.nijtmans2024-08-151-1/+1
|\
| * Improve bunch of error-messagesjan.nijtmans2024-08-151-1/+1
| |
* | Add testcasesjan.nijtmans2023-04-211-0/+3
|\ \ | |/
| * Reduce diff between 8.7 and 9.0. Add some testcasesjan.nijtmans2023-04-211-1/+4
|/
* Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-2/+2
| | | | (UTF-8) character.
* More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
|
* Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-3/+3
| | | | whenever reasonable.
* Merge 8.6jan.nijtmans2020-10-301-1/+1
|\
| * Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-1/+1
| |
* | Merge 8.6jan.nijtmans2020-09-041-1/+1
|\ \ | |/
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-1/+1
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | Merge 8.6jan.nijtmans2020-05-111-2/+2
|\ \ | |/
| * occurance -> occurrence.jan.nijtmans2020-05-111-9/+9
| |
* | Better error-message in case of "index out of range", mentioning the actual ↵jan.nijtmans2020-02-291-5/+5
| | | | | | | | index which was out of range. Also, use the same error-code, because the underlying cause is all the same.
* | [db36fa5122] Upgrade the index value parsing and encoding machinery. ↵dgp2018-03-101-0/+34
|\ \ | |/ | | | | Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases.
| * rename tests to make room for new tests in 8.7dgp2018-03-101-2/+2
| |
| * More demonstration tests of index value encoding flaws.dgp2018-03-091-0/+3
| |
| * New tests demonstrating index value encoding flaws in [lsearch].dgp2018-03-091-5/+36
| |
* | Dup test namedgp2018-01-251-1/+1
| |
* | Allow -stride 1.pspjuth2018-01-251-1/+5
| |
* | Add -stride to lsearch. TIP#351pspjuth2018-01-021-8/+150
| |
* | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-7/+7
|/
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ | | | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * Prevent shimmering crash in [lsearch] when -exact and -integer/-real aredkf2007-12-051-1/+10
| | | | | | | | | | | | mixed. [Bug 1844789]
| | * Fix [Bug 1374778]dkf2005-12-091-1/+13
| | |
| | * Fix [Bug 1366683]dkf2005-11-291-1/+5
| | |
| | * Removed test number dups [Bugs 710322, 710327, 710349, 710363]dkf2003-03-271-11/+11
| | |
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-52/+52
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | TIP #313 IMPLEMENTATIONdkf2008-09-291-4/+48
| | |
* | | more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-131-3/+3
|/ / | | | | | | ?options? to the form ?-option value ...?
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Prevent shimmering crash in [lsearch] when -exact and -integer/-real are mixed.dkf2007-12-051-1/+10
| | | | | | | | [Bug 1844789]
* | Fix [Bug 1374778]dkf2005-12-091-1/+13
| |
* | Fix [Bug 1366683]dkf2005-11-291-1/+5
| |
* | Implementation of TIP#241 from Joe Mistachkindkf2005-06-011-4/+31
| | | | | | | | Also compilation of [switch -glob -nocase] from Donal Fellows
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclUtil.c: Extended TclGetIntForIndex to recognize index formats including end+integer and integer+/-integer. * generic/tclCmdMZ.c: Extended the -start switch of [regexp] and [regsub] to accept all index formats known by TclGetIntForIndex. * doc/lindex.n: Updated docs to note new index formats. * doc/linsert.n: * doc/lrange.n: * doc/lreplace.n: * doc/lsearch.n: * doc/lset.n: * doc/lsort.n: * doc/regexp.n: * doc/regsub.n: * doc/string.n: * tests/cmdIL.test: Updated tests. * tests/compile.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/lsearch.test: * tests/lset.test: * tests/regexp.test: * tests/regexpComp.test: * tests/string.test: * tests/stringComp.test: * tests/util.test:
* | Fixed bug 823768 by pre-parsing the index listdkf2003-10-151-2/+2
| |
* | TIP#127 Implementation. Thanks to Michael Schlenker for his implementation workdkf2003-10-141-4/+74
| |
* | Eliminated duplicate test numbers [Bugs 710322, 710327, 710349, 710363]dkf2003-03-271-11/+11
|/
* Stop [lsearch -start 0 {} x] from crashing. [Bug #694232]dkf2003-02-271-1/+5
|
* * tests/lsearch.test:hobbs2003-02-111-1/+6
| | | | | * generic/tclCmdIL.c (Tcl_LsearchObjCmd): protect against the case that lsearch -regepx list and pattern objects are equal.
* TIP#81 implementation, tests and docsdkf2002-03-061-16/+84
|
* * Corrected tests to better isolate tests indgp2001-09-121-1/+2
| | | | one file from influencing tests in other files. [Bug 460591]
* * tests/lsearch.test:ericm2000-05-091-6/+186
| | | | | | * doc/lsearch.n: * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Extended [lsearch] to support sorted list searching and typed list searching. [RFE: 4098].
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-3/+22
|