summaryrefslogtreecommitdiffstats
path: root/tests/util.test
Commit message (Collapse)AuthorAgeFilesLines
* add missing constraintsdgp2008-10-141-2/+3
| | | FossilOrigin-Name: 28a3511d725daed4984258ecc9b4932124b5f3c8
* * generic/tclTest.c (TestconcatobjCmd):msofer2008-08-171-1/+6
| | | | | | | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions! *** NASTY BUG FIXED *** FossilOrigin-Name: 06993be2a4750d6cd2181e460c21a0f81eb2b135
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-15/+6
| | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file FossilOrigin-Name: 36829d55d6ebcac6be4d3d7d887b06650a5b394a
* Corrected duplication of test namesdgp2005-05-121-2/+2
| | | FossilOrigin-Name: b3032b416634a2e91632b22b52c8c1f279901577
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-101-22/+559
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-1/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: d9e4591786991fc6676581c61c73cb49f06f13a7
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-10/+2
| | | | | necessary. FossilOrigin-Name: ae1ac5736f8152bee6dd84f96e191a4a097cebb3
* * generic/tclUtil.c: Corrected [Bug 411825] and other bugs indgp2003-08-271-1/+21
| | | | | | | | TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6]. FossilOrigin-Name: 698df3f3e0a7ce90580b35ebd32ae44841733841
* * tests/util.test: Added new tests for remaining TclNeedSpace()dgp2003-08-271-1/+36
| | | | | | bugs discussed in [Bug 411825]. FossilOrigin-Name: 2b2d2221ca11ca4eb493d8b739c09a0b742b2a1f
* * tests/async.test: Added several tests that demonstrate Tcldgp2003-07-241-4/+37
| | | | | | | | | | | | * tests/basic.test: Bug 489537, Tcl's longstanding failure to * tests/dict.test: properly quote any leading '#' character * tests/dstring.test: when generating the string rep of a list * tests/list.test: so that the comment-power of that character * tests/parse.test: is hidden from any [eval], in order to * tests/util.test: satisfy the documentation that [list] does [eval]-safe quoting. FossilOrigin-Name: 03d3df98ff7cdfa4ebd84d70cf3d5ecb99bab3c5
* Fixed fault with case-insensitive string matching (Bug#233257) and rewrotedkf2002-01-021-52/+56
| | | | | | some tests to test what they claimed to be testing. FossilOrigin-Name: 99e550c5bedfd5ee619bd6cf81b9ee09b8545f7e
* TclNeedSpace is now UTF8-aware. (Bug #411825 from <arobert3434@users.sf.net>)dkf2001-09-191-13/+11
| | | FossilOrigin-Name: c64abaca1e6bbe34f7639672ce2e1e7098ef9f8d
* * tests/util.test: added util-4.6hobbs2001-07-031-1/+5
| | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over utf-8 chars. [Bug #227512] FossilOrigin-Name: 8ee4571bc620e35190a9217409e007663b749a6a
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | | | Fixed bug in pkg.test where defs.tcl was still being used. FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-28/+202
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* cleaned up test suite so most of the tests pass on Windowsstanton1998-11-021-2/+2
| | | FossilOrigin-Name: e3b726ecfd82a8528d888f544650da8fa92946e1
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+132
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a