diff options
author | dgp <dgp@users.sourceforge.net> | 2003-07-24 16:05:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-07-24 16:05:22 (GMT) |
commit | db3db9df91cdc7d1b0bdac6c9c927765ce9afd95 (patch) | |
tree | 829c6228c7d8db111e9b0b193de20a6c182b21be /tests/list.test | |
parent | 69bc2d2dcd6bd96a75ea42e0fdb1c23fc1054390 (diff) | |
download | tcl-db3db9df91cdc7d1b0bdac6c9c927765ce9afd95.zip tcl-db3db9df91cdc7d1b0bdac6c9c927765ce9afd95.tar.gz tcl-db3db9df91cdc7d1b0bdac6c9c927765ce9afd95.tar.bz2 |
* tests/async.test: Added several tests that demonstrate Tcl
* 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.
Diffstat (limited to 'tests/list.test')
-rw-r--r-- | tests/list.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/list.test b/tests/list.test index 8dd3817..01dc060 100644 --- a/tests/list.test +++ b/tests/list.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: list.test,v 1.6 2003/03/27 13:19:15 dkf Exp $ +# RCS: @(#) $Id: list.test,v 1.7 2003/07/24 16:05:24 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -44,6 +44,8 @@ test list-1.21 {basic tests} {list a b c\\\nd} "a b c\\\\\\nd" test list-1.22 {basic tests} {list "{ab}\\"} \\{ab\\}\\\\ test list-1.23 {basic tests} {list \{} "\\{" test list-1.24 {basic tests} {list} {} +test list-1.25 {basic tests} {list # #} {{#} #} +test list-1.26 {basic tests} {list #\{ #\{} {\#\{ #\{} # For the next round of tests create a list and then pick it apart # with "index" to make sure that we get back exactly what went in. |