diff options
Diffstat (limited to 'tests/security.test')
-rw-r--r-- | tests/security.test | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/security.test b/tests/security.test index eeabc9c..4a73160 100644 --- a/tests/security.test +++ b/tests/security.test @@ -1,16 +1,16 @@ # security.test -- # -# Functionality covered: this file contains a collection of tests for the auto -# loading and namespaces. +# Functionality covered: this file contains a collection of tests for the +# auto loading and namespaces. # -# Sourcing this file into Tcl runs the tests and generates output for errors. -# No output means no errors were found. +# Sourcing this file into Tcl runs the tests and generates output for +# errors. No output means no errors were found. # # Copyright (c) 1997 Sun Microsystems, Inc. # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. -if {"::tcltest" ni [namespace children]} { +if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest namespace import -force ::tcltest::* } @@ -39,7 +39,3 @@ test security-1.1 {tcl_endOfPreviousWord} { # cleanup ::tcltest::cleanupTests return - -# Local Variables: -# mode: tcl -# End: |