summaryrefslogtreecommitdiffstats
path: root/tests/pkg.test
diff options
context:
space:
mode:
authorericm <ericm>2000-04-10 17:18:56 (GMT)
committerericm <ericm>2000-04-10 17:18:56 (GMT)
commitdd3bd47b3e259bcbd083fee3ead4d13fe828a22b (patch)
tree983c7432914b67e3fad4b57bb5d8711abad03cb0 /tests/pkg.test
parentcedc2a01a4ac1c51e93fddd5049122b73f42894e (diff)
downloadtcl-dd3bd47b3e259bcbd083fee3ead4d13fe828a22b.zip
tcl-dd3bd47b3e259bcbd083fee3ead4d13fe828a22b.tar.gz
tcl-dd3bd47b3e259bcbd083fee3ead4d13fe828a22b.tar.bz2
* tests/*.test: Changed all occurances of "namespace import
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
Diffstat (limited to 'tests/pkg.test')
-rw-r--r--tests/pkg.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pkg.test b/tests/pkg.test
index 806a5fb..9618ed8 100644
--- a/tests/pkg.test
+++ b/tests/pkg.test
@@ -10,11 +10,11 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: pkg.test,v 1.7 1999/09/21 04:20:44 hobbs Exp $
+# RCS: @(#) $Id: pkg.test,v 1.8 2000/04/10 17:19:03 ericm Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
- namespace import ::tcltest::*
+ namespace import -force ::tcltest::*
}
# Do all this in a slave interp to avoid garbaging the
@@ -22,7 +22,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
set i [interp create]
interp eval $i [list set argv $argv]
interp eval $i [list package require tcltest]
-interp eval $i [list namespace import ::tcltest::*]
+interp eval $i [list namespace import -force ::tcltest::*]
interp eval $i {
eval package forget [package names]