summaryrefslogtreecommitdiffstats
path: root/tests/append.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/append.test')
-rw-r--r--tests/append.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/append.test b/tests/append.test
index 6e70f8c..caf6210 100644
--- a/tests/append.test
+++ b/tests/append.test
@@ -141,7 +141,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
@@ -229,8 +229,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
@@ -281,6 +279,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 ""}