summaryrefslogtreecommitdiffstats
path: root/tests/autoMkindex.test
diff options
context:
space:
mode:
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 ""