diff options
author | msofer <msofer@noemail.net> | 2007-12-23 17:52:32 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2007-12-23 17:52:32 (GMT) |
commit | e60f7fcd1f27d5f4ad4d522a25ce07201c290c69 (patch) | |
tree | 4afa2eb51b375de76ce881c9f8763a3403f55837 /tests | |
parent | 7aec2493bef7edbe8443aef1d46d9e6127efca86 (diff) | |
download | tcl-e60f7fcd1f27d5f4ad4d522a25ce07201c290c69.zip tcl-e60f7fcd1f27d5f4ad4d522a25ce07201c290c69.tar.gz tcl-e60f7fcd1f27d5f4ad4d522a25ce07201c290c69.tar.bz2 |
* generic/tclCmdIL.c: speed patch for lsort [Patch 1856994].
FossilOrigin-Name: 7a28facee158389e51228cbdf2f19308a55d3575
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cmdIL.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/cmdIL.test b/tests/cmdIL.test index e0676a2..0be7f19 100644 --- a/tests/cmdIL.test +++ b/tests/cmdIL.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: cmdIL.test,v 1.35 2007/12/13 15:26:06 dgp Exp $ +# RCS: @(#) $Id: cmdIL.test,v 1.36 2007/12/23 17:52:34 msofer Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -175,6 +175,9 @@ test cmdIL-3.3 {SortCompare procedure, -index option} { } {1 {element 2 missing from sublist "20 10"}} test cmdIL-3.4 {SortCompare procedure, -index option} { list [catch {lsort -integer -index 2 "{a b c} \\\{"} msg] $msg +} {1 {expected integer but got "c"}} +test cmdIL-3.4.1 {SortCompare procedure, -index option} { + list [catch {lsort -integer -index 2 "{1 2 3} \\\{"} msg] $msg } {1 {unmatched open brace in list}} test cmdIL-3.5 {SortCompare procedure, -index option} { list [catch {lsort -integer -index 2 {{20 10 13} {15}}} msg] $msg |