summaryrefslogtreecommitdiffstats
path: root/tests/indexObj.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2022-01-251-0/+47
|\
| * Add test-cases for Tcl_GetIntForIndex(). This reveals a minor bugjan.nijtmans2022-01-211-0/+47
| |
* | Merge 8.7jan.nijtmans2021-12-161-12/+20
|\ \ | |/
| * Merge 8.6jan.nijtmans2021-12-161-11/+19
| |\
| | * Add 2 new testcases, for Tcl_GetIndexFromObjStruct with TCL_EXACT flag and ↵jan.nijtmans2021-12-161-12/+20
| | | | | | | | | | | | for Tcl_GetIndexFromObjStruct with NULL argument
* | | TIP #613: New INDEX_NULL_OK flag for Tcl_GetIndexFromObj*()jan.nijtmans2021-12-091-0/+4
|/ /
* | TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
|\ \
| * | Case-sensitive package namesjan.nijtmans2020-11-031-1/+1
| | |
* | | 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-2/+2
|/ / | | | | | | whenever reasonable.
* | 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-2/+2
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-1/+1
| |
* | Disable special hacks for Itcl 3 ensemble error message generation.dgp2016-07-011-1/+1
|/ | | Migration paths are in place to bring this to an end.
* No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | combination with tcltest86.dll to do that (Windows only)
* Test harness for Tcl_ParseArgsObjvdkf2011-09-271-6/+32
|
* 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.
| | * * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-061-3/+7
| | | | | | | | | | | | | | | | | | | | | * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039]
| | * * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-051-2/+5
| | | | | | | | | | | | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
| | * Fix [Bug 1646039]dkf2006-04-051-13/+13
| | |
| | * * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-161-1/+4
| | | | | | | | | | | | * generic/indexObj.test: when TCL_EXACT matching is requested.
* | | fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-3/+3
| | |
* | | more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-131-3/+3
|/ / | | | | | | ?options? to the form ?-option value ...?
* | * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-061-3/+7
| | | | | | | | | | | | | | * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039]
* | * tests/compExpr-old.test: Updated testmathfunctions constraintdgp2006-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | * tests/compExpr.test: to post-TIP-232 world. * tests/expr-old.test: * tests/expr.test: * tests/info.test: * tests/indexObj.test: Corrected other test errors revealed by * tests/upvar.test: testing outside the tcltest application.
* | * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-051-2/+5
| | | | | | | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
* | Ooopsdkf2006-04-051-2/+2
| |
* | Nail [Bug 1464039] by allowing the empty string to be exactly matched bydkf2006-04-051-1/+17
| | | | | | | | Tcl_GetIndexFromObj. Also added tests.
* | * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-161-1/+4
| | | | | | | | | | * tests/indexObj.test: when TCL_EXACT matching is requested. * tests/ioCmd.test:
* | Fix [Bug 1066837] without reopening other bugs... What a horrid hack! :^/dkf2004-11-251-1/+6
| |
* | Convert conditional tests into constrained testsdkf2004-05-191-43/+26
|/
* Now correctly test for (and fix) Bug #119082.dkf2000-11-241-1/+20
|
* * tests/indexObj.test: Added tests using the [testwrongnumargs]ericm2000-08-071-1/+20
| | | | | | | | | | | command to test Tcl_WrongNumArgs. * generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function for the Tcl_WrongNumArgs function. * generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to not insert a space before the message component when objc == 0 [Bug: 6078].
* * 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/+21
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+68