summaryrefslogtreecommitdiffstats
path: root/tests/append.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/append.test')
-rw-r--r--tests/append.test7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/append.test b/tests/append.test
index 1d82a99..921b46e 100644
--- a/tests/append.test
+++ b/tests/append.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: append.test,v 1.7.12.2 2010/09/01 20:36:20 andreas_kupries Exp $
+# RCS: @(#) $Id: append.test,v 1.9.4.1 2010/09/01 19:42:41 andreas_kupries Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -143,7 +143,7 @@ test append-4.20 {lappend command} {
catch {unset x}
lappend x(0) abc
} {abc}
-unset x
+unset -nocomplain x
test append-4.21 {lappend command} {
set x \"
list [catch {lappend x} msg] $msg
@@ -231,8 +231,6 @@ test append-7.5 {append var does not trigger read trace} {
info exists ::result
} {0}
-
-
# New tests for bug 3057639 to show off the more consistent behaviour
# of lappend in both direct-eval and bytecompiled code paths (see
# appendComp.test for the compiled variants). lappend now behaves like
@@ -283,6 +281,7 @@ test append-9.3 {bug 3057639, append direct eval, read trace on non-existing env
} {0 {new value}}
+
catch {unset i x result y}
catch {rename foo ""}
catch {rename check ""}