summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
Commit message (Collapse)AuthorAgeFilesLines
* Don't use [pid] in tests, stick to constant literals.ferrieux2014-08-021-3/+3
|
* TIP 429 Implementation: [string cat]ferrieux2014-08-021-2/+36
|
* make doubly sure that things which should be unshared stay unshareddkf2014-05-011-6/+6
|
* missing constraintdgp2014-05-011-1/+1
|
* [82e7f67325] Fix an evil refcount problem in compiled [string replace].dkf2014-04-301-1/+33
|
* [Bug 3588366]: Corrected implementation of bounds restriction for end-indexeddkf2012-11-191-3/+11
| | | compiled [string range]. Thanks to Emiliano Gavilan for diagnosis and fix.
* 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)
* 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.
| | * * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-144/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
* | | * tests/stringComp.test: improved string test coveragehobbs2010-09-251-167/+153
| | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c (TclExecuteByteCode): merge INST_STR_CMP and INST_STR_EQ/INST_STR_NEQ paths. Speeds up eq/ne/[string eq] with obj-aware comparisons and eq/==/ne/!= with length equality check.
* | | More test suite cleanup for "-singleproc 1 -debug 1" testing.dgp2009-06-241-1/+2
| | |
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Turn the [string] command into a real compiled ensemble.dkf2007-11-231-3/+3
| |
* | * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* | Forgot to fix the relevant testsdkf2007-06-081-3/+3
| |
* | Implemented [string reverse].dkf2006-11-091-2/+2
| | | | | | | | Finalizes basic TIP#272 implementation.
* | 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-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist.dgp2004-05-251-144/+144
| | | | | | | | | | | | * tests/stringComp.test: stop re-use of string.test test names * tests/regexpComp.test: stop re-use of regexp.test test names * tests/namespace.test (namespace-46.3): Verify [p] does not exist.
* | Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-3/+2
|/ | | | necessary.
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):hobbs2003-02-181-1/+47
| | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH): * generic/tclUtf.c (TclUniCharMatch): * generic/tclInt.decls: add private TclUniCharMatch function that * generic/tclIntDecls.h: does string match on counted unicode * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the * tests/string.test: failing that it can't handle strings or * tests/stringComp.test: patterns with embedded NULLs. Added tests that actually try strings/pats with NULLs. TclUniCharMatch should be TIPed and made public in the next minor version rev.
* added more string comparison checkshobbs2002-05-291-1/+13
|
* added lset tests and updated lindex tests for TIPs#22,33,45 by Kennyhobbs2001-11-141-2/+3
|
* * tests/stringComp.test: added string-1.3hobbs2001-08-251-1/+10
| | | | | | | * generic/tclCompCmds.c (TclCompileStringCmd): changed to return TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an unknown string method is called. This is necessary as the string command may be never called, or not until 'string' is redefined.
* * tests/appendComp.test:hobbs2001-05-171-0/+651
* tests/stringComp.test: new files for extended bytecode testing