summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-04-30 22:44:58 (GMT)
committerstanton <stanton@noemail.net>1999-04-30 22:44:58 (GMT)
commitd4d82278af6d77229ba7e223ed3a0b420c1cd06b (patch)
treea193f27eb18d04a30f8b4f663611d5957c2f5f6a /tests
parent0a20d911e0b81832d173ea7e07c079875292de0b (diff)
downloadtcl-d4d82278af6d77229ba7e223ed3a0b420c1cd06b.zip
tcl-d4d82278af6d77229ba7e223ed3a0b420c1cd06b.tar.gz
tcl-d4d82278af6d77229ba7e223ed3a0b420c1cd06b.tar.bz2
* Merged changes from 8.1.0 branch
FossilOrigin-Name: dc45694c11c7ad43dd4c5dca49bfe1d7cedec9bb
Diffstat (limited to 'tests')
-rw-r--r--tests/env.test4
-rw-r--r--tests/parse.test6
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/env.test b/tests/env.test
index 27656e4..543a939 100644
--- a/tests/env.test
+++ b/tests/env.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: env.test,v 1.4 1999/04/16 00:47:26 stanton Exp $
+# RCS: @(#) $Id: env.test,v 1.5 1999/04/30 22:45:02 stanton Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -173,7 +173,7 @@ test env-4.5 {unsetting international environment variables} {execCommandExists}
test env-5.0 {corner cases - set a value, it should exist} {} {
set temp [lindex [array names env] end]
- set x env($temp)
+ set x $env($temp)
set env($temp) a
set result [set env($temp)]
set env($temp) $x
diff --git a/tests/parse.test b/tests/parse.test
index 1f36063..ccedc77 100644
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: parse.test,v 1.3 1999/04/16 00:47:31 stanton Exp $
+# RCS: @(#) $Id: parse.test,v 1.4 1999/04/30 22:45:03 stanton Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -723,6 +723,10 @@ test parse-15.56 {CommandComplete procedure} {
test parse-15.57 {CommandComplete procedure} {
info complete "# Comment should be complete command"
} 1
+test parse-15.58 {CommandComplete procedure, memory leaks} {
+ info complete "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22"
+} 1
+
# cleanup
catch {unset a}