summaryrefslogtreecommitdiffstats
path: root/tests/env.test
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/env.test
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/env.test')
-rw-r--r--tests/env.test4
1 files changed, 2 insertions, 2 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