summaryrefslogtreecommitdiffstats
path: root/tests/env.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:34:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:34:30 (GMT)
commitab7c4df02b91f86fd42936b1c44f131bf042fb3f (patch)
tree9c39f7a0b3f113c68393d56cb15a4e054d19cd2e /tests/env.test
parent28533d82ea038848d80fe995d9a992401a77945f (diff)
downloadtcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.zip
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.gz
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.bz2
[info exist]->[info exists]. [Bug 602566]
Diffstat (limited to 'tests/env.test')
-rw-r--r--tests/env.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/env.test b/tests/env.test
index 5b7c76b..9cc5d1b 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.16 2002/07/10 11:56:44 dgp Exp $
+# RCS: @(#) $Id: env.test,v 1.17 2002/10/03 13:34:32 dkf Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -198,7 +198,7 @@ test env-5.2 {corner cases - unset the env array} {} {
interp create i
i eval { unset env }
i eval { set env(THIS_SHOULDNT_EXIST) a}
- set result [info exist env(THIS_SHOULDNT_EXIST)]
+ set result [info exists env(THIS_SHOULDNT_EXIST)]
interp delete i
set result
} {0}
@@ -215,7 +215,7 @@ test env-5.3 {corner cases - unset the env in master should unset child} {} {
set result
} {a 1}
test env-5.4 {corner cases - unset the env array} {} {
- # The info exist command should be in synch with the env array.
+ # The info exists command should be in synch with the env array.
# Know Bug: 1737
interp create i