summaryrefslogtreecommitdiffstats
path: root/tests/env.test
diff options
context:
space:
mode:
authorcvs2fossil <cvs2fossil>1999-04-22 20:31:08 (GMT)
committercvs2fossil <cvs2fossil>1999-04-22 20:31:08 (GMT)
commit22a901e4c6e4c2e6cbdfb1390d90f9f11da384f8 (patch)
treeafbdac4113a9161b72ce6bfa5fc6389ddf14cbac /tests/env.test
parenteeb2fba346c1470404ea5892db056f44d8decb22 (diff)
downloadtcl-22a901e4c6e4c2e6cbdfb1390d90f9f11da384f8.zip
tcl-22a901e4c6e4c2e6cbdfb1390d90f9f11da384f8.tar.gz
tcl-22a901e4c6e4c2e6cbdfb1390d90f9f11da384f8.tar.bz2
Created branch core-8-1-0-syntheticcore_8_1_0core_8_1_0_synthetic
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..6030ce1 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.4.4.1 1999/04/26 21:14:56 rjohnson 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