diff options
author | msofer <msofer@noemail.net> | 2001-05-15 14:45:00 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2001-05-15 14:45:00 (GMT) |
commit | 8c8375ba22251aabed813d5f964ab74fafd90124 (patch) | |
tree | 4447e9cf60b87fe49dcd2c88e0df276b0e924ecb /tests/lindex.test | |
parent | 418f61b6aa221e38350665376960c9bfdeaa56a8 (diff) | |
download | tcl-8c8375ba22251aabed813d5f964ab74fafd90124.zip tcl-8c8375ba22251aabed813d5f964ab74fafd90124.tar.gz tcl-8c8375ba22251aabed813d5f964ab74fafd90124.tar.bz2 |
[Patch: 423617]
FossilOrigin-Name: ee318e050d859e53643d61e9149144874ea101d0
Diffstat (limited to 'tests/lindex.test')
-rw-r--r-- | tests/lindex.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lindex.test b/tests/lindex.test index ae1672c..b9500b4 100644 --- a/tests/lindex.test +++ b/tests/lindex.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: lindex.test,v 1.7 2000/04/10 17:19:01 ericm Exp $ +# RCS: @(#) $Id: lindex.test,v 1.8 2001/05/15 14:45:00 msofer Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -44,6 +44,9 @@ test lindex-1.9 {basic tests} { test lindex-1.10 {basic tests} { lindex {a b c d} 3 } d +test lindex-1.11 {Nested list with a backslashed brace} { + lindex {{a \{}} 0 +} {a \{} test lindex-2.1 {error conditions} { list [catch {lindex msg} msg] $msg |