summaryrefslogtreecommitdiffstats
path: root/tests/autoMkindex.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/autoMkindex.test
parent28533d82ea038848d80fe995d9a992401a77945f (diff)
downloadtcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.zip
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.gz
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.bz2
[info exist]->[info exists]. [Bug 602566]
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r--tests/autoMkindex.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test
index 37b7f61..457e225 100644
--- a/tests/autoMkindex.test
+++ b/tests/autoMkindex.test
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: autoMkindex.test,v 1.13 2002/07/01 04:06:51 dgp Exp $
+# RCS: @(#) $Id: autoMkindex.test,v 1.14 2002/10/03 13:34:32 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -104,14 +104,14 @@ proc ::parent::child::test {} {}
# Save initial state of auto_mkindex_parser
auto_load auto_mkindex
-if {[info exist auto_mkindex_parser::initCommands]} {
+if {[info exists auto_mkindex_parser::initCommands]} {
set saveCommands $auto_mkindex_parser::initCommands
}
proc AutoMkindexTestReset {} {
global saveCommands
- if {[info exist saveCommands]} {
+ if {[info exists saveCommands]} {
set auto_mkindex_parser::initCommands $saveCommands
- } elseif {[info exist auto_mkindex_parser::initCommands]} {
+ } elseif {[info exists auto_mkindex_parser::initCommands]} {
unset auto_mkindex_parser::initCommands
}
}
@@ -344,7 +344,7 @@ removeDirectory pkg
unset result
AutoMkindexTestReset
-if {[info exist saveCommands]} {
+if {[info exists saveCommands]} {
unset saveCommands
}
rename AutoMkindexTestReset ""