diff options
author | stanton <stanton> | 1998-09-21 23:39:52 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-09-21 23:39:52 (GMT) |
commit | 494c2de3a748b449c69ce322a1a741f5a31fd4d5 (patch) | |
tree | c3ece48c0ae3f4ba54787e0e8e729b65752ef3f9 /tests/append.test | |
parent | 7a698c0488d99c0af42022714638ae1ba2afaa49 (diff) | |
download | tcl-494c2de3a748b449c69ce322a1a741f5a31fd4d5.zip tcl-494c2de3a748b449c69ce322a1a741f5a31fd4d5.tar.gz tcl-494c2de3a748b449c69ce322a1a741f5a31fd4d5.tar.bz2 |
Added contents of Tcl 8.1a2
Diffstat (limited to 'tests/append.test')
-rw-r--r-- | tests/append.test | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/append.test b/tests/append.test index f89ade5..cac10ba 100644 --- a/tests/append.test +++ b/tests/append.test @@ -10,11 +10,12 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# SCCS: @(#) append.test 1.17 97/10/28 15:45:52 +# SCCS: @(#) append.test 1.19 97/12/24 10:40:56 -if {[string compare test [info procs test]] == 1} then {source defs} +if {[info procs test] != "test"} {source defs} catch {unset x} + test append-1.1 {append command} { catch {unset x} list [append x 1 2 abc "long string"] $x @@ -170,5 +171,8 @@ test append-7.1 {lappend-created var and error in trace on that var} { list [info exists x] [catch {set x} msg] $msg } {0 1 {can't read "x": no such variable}} -catch {unset x} +catch {unset i x result y} catch {rename foo ""} +catch {rename check ""} + +return |